is there a way of writing transfer functions in the format (s+1)(s+2) instead of (s^2+3s+2)? thanks

 採用された回答

Star Strider
Star Strider 2017 年 11 月 26 日

1 投票

Yes.
This works (in R2017b):
s = tf('s');
sys = (s+1)*(s+2)
sys =
s^2 + 3 s + 2
Continuous-time transfer function.
You have to supply the multiplication operator, or it will throw an error.

2 件のコメント

Joaquim Monteiro
Joaquim Monteiro 2017 年 11 月 26 日
thanks!
Star Strider
Star Strider 2017 年 11 月 26 日
My pleasure!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by