How can i plot transfer function with step signal input?

2 ビュー (過去 30 日間)
Mark S
Mark S 2020 年 12 月 5 日
コメント済み: Ameer Hamza 2020 年 12 月 5 日
Hello, I have this transfer function:
sys = tf([2],[1 2]) G(s)
And this is my step input signal:
R(s)= 2/s
How can i combine R(s) and G(s) and plot this.
When I write this in Matlab i can plot only the transfer function withouz my step input singal:
sys = tf([2],[1 2]) G(s)
step(sys)
stepinfo(sys)

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 12 月 5 日
You can multiplythem together and then use the impulse() function
s = tf('s');
G = 2/(s+2);
R = 2/s;
sys = G*R;
impulse(sys)
  2 件のコメント
Mark S
Mark S 2020 年 12 月 5 日
Thank you
Ameer Hamza
Ameer Hamza 2020 年 12 月 5 日
I am glad to be of help!!!

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by