How can we plot the same time history plot two times but the second time with a time delay of 2 sec?

17 visualizaciones (últimos 30 días)
How can we plot the same time history plot two times but the second time with a time delay of 2 sec?

Respuestas (1)

Torsten
Torsten hace alrededor de 2 horas
Movida: Torsten hace alrededor de 2 horas
You mean
t = 0:0.1:20;
p = t.^2;
hold on
plot(t,p,'b')
plot(t+2,p,'r')
hold off
grid on
?

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by