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

33 次查看(过去 30 天)
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.

采纳的回答

Kiran Felix Robert
Kiran Felix Robert 2020-8-14
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 个评论
Sean Ghaeli
Sean Ghaeli 2020-8-14
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?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by