フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

psd of any signal

2 ビュー (過去 30 日間)
Achintya Roy
Achintya Roy 2014 年 3 月 31 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
How to find psd of any signal and I want the data as frequency(rad/sec) vs power

回答 (2 件)

Carlos
Carlos 2014 年 3 月 31 日
Try something like this
N = length(x);
xfft = fft(x);
psdx = (1/(2*pi*N)).*abs(xfft).^2;
freq = 0:(2*pi)/N:2*pi-(2*pi)/N;
plot(freq./pi,10*log10(psdx)); grid on;

Achintya Roy
Achintya Roy 2014 年 3 月 31 日
Is there any theory behind this
  1 件のコメント
Carlos
Carlos 2014 年 3 月 31 日

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by