Circle rotating and whirling
이전 댓글 표시

댓글 수: 4
infinity
2019년 7월 24일
Hello,
I have done somthing similar with two cricles, you can refer the code in Animation section in this page
Of course, for your case, you should adapt. I just give you an idea.
Hope it could help.
darova
2019년 7월 24일
Can you please show your attempts? What did you try already?
DARLINGTON ETAJE
2019년 7월 24일
DARLINGTON ETAJE
2019년 7월 24일
채택된 답변
추가 답변 (2개)
darova
2019년 7월 24일
Look at my idea. Do you like it?
t = linspace(0,2*pi);
x = cos(t);
y = sin(t);
plot(3*x,3*y) % plot circle of radius 10
axis equal
hold on
for t0 = t
h = plot(2*cos(t0),2*sin(t0),'or');
pause(0.03)
delete(h)
end
hold off
카테고리
도움말 센터 및 File Exchange에서 Polar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!