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

 Réponse acceptée

Star Strider
Star Strider le 26 Nov 2017

1 vote

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 commentaires

Joaquim Monteiro
Joaquim Monteiro le 26 Nov 2017
thanks!
Star Strider
Star Strider le 26 Nov 2017
My pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Control System Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by