Bode plot of individual poles and zeros
14 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with Control System Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!