Info
此问题已关闭。 请重新打开它进行编辑或回答。
psd of any signal
2 次查看(过去 30 天)
显示 更早的评论
How to find psd of any signal and I want the data as frequency(rad/sec) vs power
0 个评论
回答(2 个)
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;
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!