software request which works with symbolic transfer function

조회 수: 4 (최근 30일)
Gustavo Reche
Gustavo Reche 2016년 3월 6일
댓글: Walter Roberson 2016년 3월 6일
Since MATLAB doesnt work with symbolic transfer functions, do any of you know any software for this purpose??

답변 (1개)

Walter Roberson
Walter Roberson 2016년 3월 6일
The MATLAB Symbolic Toolkit permits symbolic transfer functions.
  댓글 수: 2
Gustavo Reche
Gustavo Reche 2016년 3월 6일
편집: Walter Roberson 2016년 3월 6일
really ? So why do I get errors like this when trying to build an transfer function with symbolic variables:
syms k
>> G=tf(1,[2 k])
Error using tf (line 287)
The values of the "num" and "den" properties must be row vectors or cell arrays of row vectors, where each vector is nonempty and containing numeric data. Type
"help tf.num" or "help tf.den" for more information.
If I try to define the transfer function in another way, I get something similar:
>> s=tf('s')
>> G=(s+1)*(s+k)
Error using + (line 63)
Invalid operand. Variables of type "sym" cannot be combined with other models.
However, since you're saying that this is possible, could you tell me how?
Walter Roberson
Walter Roberson 2016년 3월 6일
I made no claim that the Control System Toolbox supported symbolic transfer functions, or that support was as extensive as for numeric models.
Supported transforms include laplace and fourier: http://www.mathworks.com/help/symbolic/functionlist.html#btgypuv-1 and the z transform
Laplace example:
Helper function:
If you are looking for more extensive tools, then I know that Maplesoft's Maple has a Dynamic Systems package for linear systems (I did not check about non-linear systems.)

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by