Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
psd of any signal
조회 수: 1 (최근 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!