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 回表示 (過去 30 日間)
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 件のコメント
Walter Roberson
Walter Roberson 2015 年 12 月 1 日
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?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeConfigure Simulation Conditions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by