clear allKK=1;clfwhile (35>KK)&&(KK>0); G=tf(1,[1 4 9 0]); Gc=feedback(G,KK); t=[0:1:10]; [y,t]=step(Gc,t); plot(t,y); hold on KK=KK + 5;end
MATLAB: How to write the scrip for this problem? The one I wrote doesn’t give me the same answer. Every tutorial I watched hasn’t helped.
feedback loopMATLAB
Best Answer