How to color between two step responses
Mostrar comentarios más antiguos
I tried so much to fill the area between two step responses using so many functions, but I did not find what I am looking for. Please show any command function
I attached a file Capture.PNG I want to plot same as the attached file.
1 comentario
Jan
el 23 de En. de 2018
Respuestas (1)
Sulaymon Eshkabilov
el 19 de Mayo de 2019
Simple solution is this:
Sys1 = tf([1 2], [1 1 300 250]);
Sys2 = tf([1 2], [1 5 300 250]);
t = 0:.01:50;
figure
step(Sys1, t, '-b'), hold on
step(Sys2, t, '-r'), grid on
legend('System 1', 'System 2', 'location', 'best')
Categorías
Más información sobre Tuning Goals en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!