필터 지우기
필터 지우기

Plot of Simultaneous paths using comet3

조회 수: 1 (최근 30일)
rrr
rrr 2012년 1월 3일
How to plot simultaneous paths (or trajectories) using comet3 command

채택된 답변

Walter Roberson
Walter Roberson 2012년 1월 3일
I think you could probably use "hold on" and then another comet3() command.

추가 답변 (1개)

Jose Jeremias Caballero
Jose Jeremias Caballero 2012년 1월 3일
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)];
plot3(sin(5*T),cos(3*T),T,'r')
plot3(sin(5*T),sin(3*T),T,'b')
pause(0.000001)
end
hold off

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by