Filter löschen
Filter löschen

Possible Feedback Function Limitations

1 Ansicht (letzte 30 Tage)
SciFiPhysics Guy
SciFiPhysics Guy am 8 Feb. 2018
Bearbeitet: SciFiPhysics Guy am 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 Kommentare
Walter Roberson
Walter Roberson am 8 Feb. 2018
What feedback value are you expecting ?
SciFiPhysics Guy
SciFiPhysics Guy am 8 Feb. 2018
Bearbeitet: SciFiPhysics Guy am 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by