Possible Feedback Function Limitations

1 次查看(过去 30 天)
My intention is to have multiple non-related transfer functions then perform a unity feedback operation on them, all at once. My Code is as follows:
K=[1:2]';
pone=ones(1,length(K));
G=tf(mat2cell(K*conv([1 3],[1 5]),pone),conv([1 -2],[1 -4]));
T=feedback(G,pone);
I can't figure out why I'm not getting the right feedback output. For this case I get:
G =
From input to output...
s^2 + 8 s + 15
1: --------------
s^2 - 6 s + 8
2 s^2 + 16 s + 30
2: -----------------
s^2 - 6 s + 8
Continuous-time transfer function.
T =
From input to output...
0.25 s^2 + 2 s + 3.75
1: ---------------------
s^2 + 4.5 s + 13.25
0.5 s^2 + 4 s + 7.5
2: -------------------
s^2 + 4.5 s + 13.25
Continuous-time transfer function.
  2 个评论
SciFiPhysics Guy
SciFiPhysics Guy 2018-2-8
编辑:SciFiPhysics Guy 2018-2-8
Thanks for the quick response! I am expecting:
T =
From input to output...
s^2 + 8 s + 15
1: ---------------------
2s^2 + 2 s + 23
2 s^2 + 16 s + 30
2: -------------------
3 s^2 + 10 s + 38
Continuous-time transfer function.
Basically G/1+G; *sorry for the typo

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Classical Control Design 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by