How to plot bode plot from FFT data
이전 댓글 표시
Hi, I would like to get bode plot from FFT data. How do I convert the data obtained(complex values) so that it can be used by the 'bode' function in matlab.
Thanking you.
답변 (1개)
Arkadiy Turevskiy
2013년 9월 30일
here is example code from doc page.
% generate a frequency vector and response data
freq = logspace(1,2);
resp = .05*(freq).*exp(i*2*freq);
% Create a FRD model
sys = frd(resp,freq);
Now simply do
bode(sys)
댓글 수: 2
SACHIN DEVASSY
2013년 10월 1일
Arkadiy Turevskiy
2013년 10월 1일
resp=[2+2j,1-3j,4, 5+4j];
freq= % enter the frequency values at which the corresponding fft
% values are obtained
sys=frd*resp,freq);
카테고리
도움말 센터 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!