我正在尝试将两个传递函数一起添加,例如:
tf1=tf(1,[1 0]); tf2=tf(2,[1 0]); tsum=tf1+tf2
MATLAB将tf1和tf2视为串联连接的块,因此将tf1和tf2相乘,结果为:
tsum = 3 s --- s^2 Continuous-time transfer function.
如何让MATLAB返回tf1和tf2的总和?所以我正在寻找的转移功能是:
3 - s
EDU>> minreal(tsum) ans = 3 - s Continuous-time transfer function.
看到
http://www.mathworks.com/help/control/ref/minreal.html
1 回答
看到
http://www.mathworks.com/help/control/ref/minreal.html