Introduction - If you have any usage issues, please Google them yourself
Matlab program is compiled by direct method or indirect method (through autocorrelation function) to calculate the power spectral density of signal cos (2 PI f1t) +cos (2 PI f2t) superimposed with white Gaussian noise.