target1 posx1=10,posy1=20,v=20,destination 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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Walter Roberson
am 1 Dez. 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?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Configure Simulation Conditions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!