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.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ashkhen Aristakessian
le 28 Sep 2015
Commenté : Ashkhen Aristakessian
le 28 Sep 2015

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 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!