matlab传递函数带符号变量,符号传递函数matlab
我正在尝试使用具有符号值的传递函数,但我只返回错误。有没有办法使用Matlab在符号模式下转换拉普拉斯?这是我要做的一个例子和MatLab消息错误:>> syms Ki Kp Te R;>> s=tf('s');>> g=((Kp*s+Ki)/s)Error using sym>tomupad (line 1014)Conversion to 'sym'
我正在尝试使用具有符号值的传递函数,但我只返回错误。
有没有办法使用Matlab在符号模式下转换拉普拉斯?
这是我要做的一个例子和MatLab消息错误:
>> syms Ki Kp Te R;
>> s=tf('s');
>> g=((Kp*s+Ki)/s)
Error using sym>tomupad (line 1014)
Conversion to 'sym' from 'tf' is not possible.
Error in sym (line 139)
S.s = tomupad(x,'');
Error in sym/privResolveArgs (line 823)
argout{k} = sym(arg);
Error in sym/privBinaryOp (line 838)
args = privResolveArgs(A, B);
Error in * (line 216)
X = privBinaryOp(A, B, 'symobj::mtimes');
我已经尝试了一些其他形式来创建没有结果的传递函数:
>> sys=tf([Te],[0 Ki])
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.
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐


所有评论(0)