seeing the expression of the transfer function

hello,
I have a system that is defined in the state space by the command - sys=ss(A,B,C,D);
I am trying to extract the Transfer FunctionTransfer Function from sys by the command G=tfdata(sys).
How can I present the outcome in terms of a division of a numerator and denominator?

5 comentarios

Walter Roberson
Walter Roberson el 7 de Dic. de 2018
why not display tf(sys) ? numerator and denominator is the standard built in display format for tf
madhan ravi
madhan ravi el 7 de Dic. de 2018
Eliraz Nahum's answer moved here for consistency:
hey Robert,
I am studying control engineering and we usually write the transfer function as a division of numerator and denominator (in this case G(s)=15/(s^2+5s+6)).
How can I "plot" it? or at least the numerator and denominator separately?
thanks
Walter Roberson
Walter Roberson el 7 de Dic. de 2018
display of the result of a tf() would be in multiple lines with a numerator polynomial then dividing line then denominator polynomial .
If you want it all on one line the easiest would probably be to tf2sym from the file exchange . or poly2sym the numerator and denominator and divide.
Eliraz Nahum
Eliraz Nahum el 7 de Dic. de 2018
How can I "plot" ithe transfer function?
it doesn't make it by default

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Robust Control Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2018b

Etiquetas

Preguntada:

el 7 de Dic. de 2018

Comentada:

el 7 de Dic. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by