Possible Feedback Function Limitations

2 views (last 30 days)
SciFiPhysics Guy
SciFiPhysics Guy on 8 Feb 2018
Edited: SciFiPhysics Guy on 8 Feb 2018
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 Comments
Walter Roberson
Walter Roberson on 8 Feb 2018
What feedback value are you expecting ?
SciFiPhysics Guy
SciFiPhysics Guy on 8 Feb 2018
Edited: SciFiPhysics Guy on 8 Feb 2018
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

Sign in to comment.

Answers (0)

Categories

Find more on Dynamic System Models in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!