Complex Coefficient Filter bode plot
이전 댓글 표시
How to obtain the bode plot for a transfer function with complex coefficients in Matlab?, i.e. gain and phase for positive and negative frequencies.
답변 (2개)
Craig
2012년 1월 4일
You could try this as a workaround
a = tf(1,[1,i]) % Complex tf
wp = logspace(-2,2,100); % Freq vector
hpos = freqresp(a,wp); % Get Positive freq response
hneg = freqresp(a,-wp); % Get Negative freq response
% Put them into an frd, Note both are done with a positive frequency vector
frdpos = frd(hpos,wp);
frdneg = frd(hneg,wp);
% Plot bode of two responses (note second response is negative frequency
bode(frdpos,frdneg)
Or you can you the data to make your own plot.
-craig
카테고리
도움말 센터 및 File Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!