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 CenterFile Exchange에서 Configure Simulation Conditions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by