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.

 Respuesta aceptada

goerk
goerk el 28 de Sept. de 2015
Editada: goerk el 28 de Sept. de 2015
Td = A/s is already the step function.
figure;
for KK = [1 5:5:25]
Gc=tf([1 0],[1 4 9 KK]);
t=[0:0.1:10];
[y,t]=step(Gc,t);
plot(t,y);
hold on
end
or you can replace step by impulse in your code.

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Preguntada:

el 28 de Sept. de 2015

Comentada:

el 28 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by