Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

psd of any signal

2 Ansichten (letzte 30 Tage)
Achintya Roy
Achintya Roy am 31 Mär. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
How to find psd of any signal and I want the data as frequency(rad/sec) vs power

Antworten (2)

Carlos
Carlos am 31 Mär. 2014
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 am 31 Mär. 2014
Is there any theory behind this

Community Treasure Hunt

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

Start Hunting!

Translated by