Bode plot of individual poles and zeros

조회 수: 15 (최근 30일)
Caramel Cookie
Caramel Cookie 2023년 11월 23일
편집: Chunru 2023년 11월 23일
I need help with one of my homework problems. I am trying to plot the bode plot using the approximation method. Basically I need to use semilogx function to plot each individual pole and zero like in the screenshot attached.
What is the best approach to write this program?
  댓글 수: 1
Walter Roberson
Walter Roberson 2023년 11월 23일
Reminder: (s+10) is a pole at -10 not at 10 .

댓글을 달려면 로그인하십시오.

답변 (1개)

Chunru
Chunru 2023년 11월 23일
편집: Chunru 2023년 11월 23일
z = 1000;
p = [10 10 100];
k = 200;
bode(zpk(z, p, k), 'k'); hold on
for i=1:length(z)
bode(zpk(z(i), [], 1/z(i)), 'b--') % (s-z(i))/z(i)
end
for i=1:length(p)
bode(zpk([], p(i), p(i)), 'r:') % p(i)/(s-p(i))
end
% You need to use the approximation for each zero and pole to replace the
% bode above. You may consider to write a simple approximation function
% for that purpose.

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by