tf object manipulation

1 Ansicht (letzte 30 Tage)
Raldi
Raldi am 5 Dez. 2011
Is there a way to print tf object in a gui?

Akzeptierte Antwort

Paulo Silva
Paulo Silva am 6 Dez. 2011
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

Weitere Antworten (0)

Kategorien

Mehr zu Dynamic System Models finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by