tf object manipulation

조회 수: 7 (최근 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 CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by