Possible Feedback Function Limitations

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 Commenti

What feedback value are you expecting ?
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

Accedi per commentare.

Risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by