tf object manipulation

 Respuesta aceptada

Paulo Silva
Paulo Silva el 6 de Dic. de 2011

0 votos

Small example
syms s
Numerator=[1];
Denominator=[1 0 1];
sys=tf(Numerator,Denominator)
ex=evalc('sys')
[a b] = strread(ex, '%s %s', 'delimiter',char(10));
num=char(a(2));
den=char(a(3));
Now you have the numerator and denominator that can be used in the String of some GUI object like the edit or text

Más respuestas (0)

Categorías

Preguntada:

el 5 de Dic. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by