white noise has flat power spectral density.

3.8k Views Asked by At

I am trying to prove that the white noise has constant power spectral density using matlab but the amplitude of the spectrum looks like random amplitude.

can anyone tell me why?

here is my code.

noise = randn(1,10000);
fft_noise=fft(noise);
plot(abs(fft_noise(1:5000)))

thanks.

1

There are 1 best solutions below

0
On BEST ANSWER

Your method is incorrect. See this web site for how to compute the power spectral density.