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

 Akzeptierte Antwort

Star Strider
Star Strider am 26 Nov. 2017

1 Stimme

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 Kommentare

Joaquim Monteiro
Joaquim Monteiro am 26 Nov. 2017
thanks!
Star Strider
Star Strider am 26 Nov. 2017
My pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by