transfer function input format

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

 Risposta accettata

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.

Più risposte (0)

Categorie

Scopri di più su Control System Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by