getting error while using feedback

4 Ansichten (letzte 30 Tage)
bhanu kiran vandrangi
bhanu kiran vandrangi am 5 Aug. 2021
syms s d e
y=((0.005659*s^2+0.05206*s+0.004496)/(s^3+9.357*s^2+2.228*s+0.06147))*((27.5084*d)+(27.5084*(e/s)))
using feedback(y,1,-1) is giving me a error, what is wrong here

Antworten (2)

Jesús Zambrano
Jesús Zambrano am 5 Aug. 2021
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 Kommentar
bhanu kiran vandrangi
bhanu kiran vandrangi am 6 Aug. 2021
ok, but if my input for feedback is matrix then how to use feedback in matlab

Melden Sie sich an, um zu kommentieren.


Paul
Paul am 5 Aug. 2021
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.

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by