tf object manipulation

4 ビュー (過去 30 日間)
Raldi
Raldi 2011 年 12 月 5 日
Is there a way to print tf object in a gui?

採用された回答

Paulo Silva
Paulo Silva 2011 年 12 月 6 日
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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by