getting error while using feedback

조회 수: 4(최근 30일)
bhanu kiran vandrangi
bhanu kiran vandrangi 2021년 8월 5일
댓글: bhanu kiran vandrangi 2021년 8월 6일
syms s d e
using feedback(y,1,-1) is giving me a error, what is wrong here


Jesús Zambrano
Jesús Zambrano 2021년 8월 5일
You need to work with model objects, they must be either continuous os discrete with identical sample times.
Here, please read the documentation about the command feedback, which also includes some examples:
Hope it helps!
  댓글 수: 1
bhanu kiran vandrangi
bhanu kiran vandrangi 2021년 8월 6일
ok, but if my input for feedback is matrix then how to use feedback in matlab

댓글을 달려면 로그인하십시오.

Paul 2021년 8월 5일
The Control System Toolbox does not support operations on sym objects. Having siad that, the error message that I'm seeing is fairly opaque, something about "not enough input arguments," which isn't very helpful.

VBBV 2021년 8월 5일
%if true
  K1 = tf([0.005659 0.05206 0.004496],[1 9.357 2.228 0.06147])
K2 = tf([0 0 27.5084 0],[0 0 27.5084 0])

Try something like above. Split the function to two TF and apply feedback

  댓글 수: 1
Paul 2021년 8월 5일
Wow. When I read read the question, it never occured to me that e and d are signals, as opposed to unquantifed parameters. Having said that I think that K2 should be:
K2 = tf(27.5084,[1 0]);
And K2 should be in the forward path, not the feedback path? And sitll need to account for the disturbance input, d.

댓글을 달려면 로그인하십시오.




Community Treasure Hunt

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

Start Hunting!

Translated by