Undefined function 'pretty' for input arguments of type 'tf'.

5 visualizaciones (últimos 30 días)
Gelly Ann Zamora
Gelly Ann Zamora el 14 de Oct. de 2017
Respondida: Walter Roberson el 14 de Oct. de 2017
I want to simplify my transfer function which is hp1_tf=tf(num,den) so i used pretty(hp1_tf1) but an error would occur:
_ Undefined function 'pretty' for input arguments of type 'tf'._
Please help.

Respuestas (1)

Walter Roberson
Walter Roberson el 14 de Oct. de 2017
tf (transfer functions) are not sym, they just print out like that.
syms s
sys_syms = poly2sym(cell2mat(Num),s)/poly2sym(cell2mat(Den),s);
pretty(syms_syms)

Categorías

Más información sobre Dynamic System Models en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by