How to convert fft plot into PSD(Normalized) vs Freqeuncy (Hz)

20 ビュー (過去 30 日間)
moeen saeed
moeen saeed 2016 年 3 月 16 日
回答済み: remi inshar 2018 年 8 月 3 日
I am trying to convert my fft signal into PSD(Normalized) vs Freqeuncy (Hz) but can't get it right. I want to get some thing like shown in the figure. I found these figures in the literature. How to plot this in matlab? PSD from 0-1 and frequency in log scale.
If some one can explain with a simple example, it will be highly appreciated

回答 (2 件)

Vidya Viswanathan
Vidya Viswanathan 2016 年 4 月 1 日
Hi,
I understand that you are trying to compute the power spectral density of a signal from the output of the FFT function. This can be done by squaring the absolute value of FFT output and scaling it by a factor equal to (1/length(data))*(1/Fs) where Fs is the sampling frequency. This result is then converted to decibels. Refer to the following documentation link that describes how power spectral density can be computed from FFT:
I hope this answers your question.
Regards,
Vidya

remi inshar
remi inshar 2018 年 8 月 3 日
hai all... i am trying to plot psd of action potential in neurons.. i am not able to select the sampling frequency wisely and reproduce plots in a famous journal.. can someone help me....?

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by