target1 posx1=10,p​osy1=20,v=​20,destina​tion posx2=100,posy2=20 and target2 pos2=20,posy2=50,v=5 and destination of target2 pos22=500,posy22=600 .how to plot two targets simultaneously and reach the destination of two targets with out any interfernce

1 vue (au cours des 30 derniers jours)
moving two targets
[Merged from duplicate question]
object1 x=10,y=20,v=30 and destination point x=1070,y=2000,v=20
object2 x=100,y=200,v=10 and destination point x=1200,y=4000,v=20
how to move objects simultaneously
  1 commentaire
Walter Roberson
Walter Roberson le 1 Déc 2015
What do you mean by "and reach the destination of two targets with out any interference" ? Are there obstacles that might interfere?
Are those "v" intended to represent velocity? Velocity is a vector. Should we consider it to be 20 units in the direction of the destination?
If the "v" represent velocity, then clearly the first one will reach its target before the second one. What do you want to have happen when the first reaches its target: should it just stop?
What should the plot look like when it is happening? Should a line be left behind? Should markers just be moved to the new positions?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Configure Simulation Conditions dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by