Plot of Simultaneous paths using comet3

6 visualizzazioni (ultimi 30 giorni)
How to plot simultaneous paths (or trajectories) using comet3 command

Risposta accettata

Walter Roberson
Walter Roberson il 3 Gen 2012
I think you could probably use "hold on" and then another comet3() command.

Più risposte (1)

Jose Jeremias Caballero
Jose Jeremias Caballero il 3 Gen 2012
could use the plot function.
t = -pi:pi/300:pi;
axis([-1 1 -1 1 -1 2])
hold on
for i=1:2:length(t)-1
T=[t(i) t(i+1)];
hold off


Scopri di più su Animation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by