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

 Respuesta aceptada

Star Strider
Star Strider el 26 de Nov. de 2017
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 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dynamic System Models en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Nov. de 2017

Comentada:

el 26 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by