How to plot transfer functions?

588 ビュー (過去 30 日間)
Ali Deniz
Ali Deniz 2021 年 11 月 29 日
回答済み: Adem 2024 年 2 月 7 日
How can I plot this state space like the graph I attached by using tf() and step() command? Thank you!
I2/E0=1/(s^3+s^2+3*s+1)
  1 件のコメント
Ali Deniz
Ali Deniz 2021 年 11 月 29 日
The attachment is here. Thank you.

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

採用された回答

Yusuf Suer Erdem
Yusuf Suer Erdem 2021 年 11 月 29 日
編集済み: Yusuf Suer Erdem 2021 年 11 月 29 日
Try these codes below please;
clc; clear; close all;
numerator = 1;
denominator = [1,1,3,1];
sys = tf(numerator,denominator);
yyaxis left
plot(step(sys));
yyaxis right
plot(impulse(sys));
  1 件のコメント
Ali Deniz
Ali Deniz 2021 年 11 月 29 日
Thank you.

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

その他の回答 (1 件)

Adem
Adem 2024 年 2 月 7 日
clc; clear; close all;
numerator = 1;
denominator = [1,1,3,1];
sys = tf(numerator,denominator);
yyaxis left
plot(step(sys));
yyaxis right
plot(impulse(sys));

Community Treasure Hunt

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

Start Hunting!

Translated by