I want to find transfer function from given poles and zeros

11 ビュー (過去 30 日間)
Sikandar Shah
Sikandar Shah 2021 年 9 月 29 日
コメント済み: Star Strider 2021 年 9 月 29 日
Hello everyone
I want to find transfer function from given poles and zeros and then find the bode plot. How to write MATLAB code for it ?

採用された回答

Star Strider
Star Strider 2021 年 9 月 29 日
One approach —
K = 1; % Insert Correct Value
p1 = -3.02E4 + 2.52E4j;
p2 = conj(p1);
p3 = -1.16E5 + 1.13E6j;
p4 = conj(p3);
z1 = 2.35E5;
z2 = -3.33E5;
s = tf('s');
Gp = K*(s-z1)*(s-z2) / ((s+p1)*(s+p2)*(s+p3)*(s+p4))
Gp = s^2 + 98000 s - 7.826e10 ------------------------------------------------------ s^4 - 292400 s^3 + 1.306e12 s^2 - 7.83e16 s + 1.996e21 Continuous-time transfer function.
figure
bodeplot(Gp)
figure
pzmap(Gp)
figure
stepplot(Gp)
The right-half-plane poles concern me. See the Step Response plot to understand the reason.
.
  2 件のコメント
Sikandar Shah
Sikandar Shah 2021 年 9 月 29 日
Thank you so much, it solved my problem.
Star Strider
Star Strider 2021 年 9 月 29 日
As always, my pleasure!
.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by