Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
psd of any signal
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
How to find psd of any signal and I want the data as frequency(rad/sec) vs power
0 comentarios
Respuestas (2)
Carlos
el 31 de Mzo. de 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;
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!