Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下传递函数:
(5/(s^2+1) ) * e^(-0.1*s)
如何在传递函数模型中包含死区时间?
我试过A=tf([5],[1 0 1],'td',0.1)但不起作用(td未定义)。
A=tf([5],[1 0 1],'td',0.1)
td
利用:
A=tf([5],[1 0 1],'inputdelay',0.1)
Matlab的输出是:
Transfer function: 5 exp(-0.1*s) * ------- s^2 + 1
您收到错误的原因td not defined是因为 'td' 不是函数的可识别输入值。如果你希望你使用 td,你可以这样做:
td not defined
td = 'inputdelay' A=tf([5],[1 0 1],td,0.1)
并且输出将是相同的。