Circle rotating and whirling
Show older comments

4 Comments
infinity
on 24 Jul 2019
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
on 24 Jul 2019
Can you please show your attempts? What did you try already?
DARLINGTON ETAJE
on 24 Jul 2019
DARLINGTON ETAJE
on 24 Jul 2019
Accepted Answer
More Answers (2)
darova
on 24 Jul 2019
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
DARLINGTON ETAJE
on 24 Jul 2019
0 votes
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!