Circle rotating and whirling
Afficher commentaires plus anciens

4 commentaires
infinity
le 24 Juil 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
le 24 Juil 2019
Can you please show your attempts? What did you try already?
DARLINGTON ETAJE
le 24 Juil 2019
DARLINGTON ETAJE
le 24 Juil 2019
Réponse acceptée
Plus de réponses (2)
darova
le 24 Juil 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
2 commentaires
DARLINGTON ETAJE
le 24 Juil 2019
darova
le 24 Juil 2019
What radius of a circle you want?
DARLINGTON ETAJE
le 24 Juil 2019
0 votes
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!