how to calculate and plot power spectral density of a white noise signal

87 views (last 30 days)
I want to ultimately find out how many bits are necessary to quantify noise of a signal. I'm working with this source code to generate a noisy white signal, and I know that taking the FFT to find the power spectral density (PSD) will allow me to then quantify voltage noise in the signal per rtHz or noise power per Hz.
When I run the code, I end up getting plots that look like this:
I've never worked with FFTs or PSDs before, and I'm only looking into them to answer my main question of how many bits I need to quantify a noise signal. As a result, I don't know how to discern what my PSD is by looking at these graphs. Is it the bandwidth? The average? I really am not sure.
Thanks.

Accepted Answer

Kiran Felix Robert
Kiran Felix Robert on 14 Aug 2020
Hi Sean,
The Power spectral density of a signal gives the Signal Power for the (at each) frequencies over the band. Since you are modelling a white noise for a specified bandwidth (by the ‘bandwidth variable), you get a nearly flat Absolute Noise power (the power shown in figure is reported in dB) over the band.
To quantify the number of bits required, you can use the dynamic range of the ‘noise’ variable to get the approximate estimate.
Hope this Helps.
Kiran Felix Robert
  1 Comment
Sean Ghaeli
Sean Ghaeli on 14 Aug 2020
Thank you very much for this insightful reply, it helps immensely. I understand what you mean about looking at the dynamic range of the 'noise' variable. My question is, upon plotting the 'noise' variable, will the x-axis be frequency?

Sign in to comment.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!