How do I write the scrip for this problem? The one I wrote doesn't give me the same answer. Every tutorial I watched hasn't helped.
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149475/image.png)
clear all
KK=1;clf
while (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
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!