Distance from an object at time intervals with a constant velocity
1 view (last 30 days)
Show older comments
Hello,
I am computing a bypass scenario at constant velocity of 50km/h. The distance to the object at start is 300km.
The computation should give distance to the object at intervals of 15 minute. Also, start time is 0 minutes and finish time is when the object is at 300km again. In other words, start from 300km, get to the object and continue moving until a distance of 300km is reached again. Thus, the time is 12hrs (600km) in total.
How can I compute that and get the results in the following format [distance time] assuming I do not know the total distance of 600km and time of 12hrs?
Thank you in advance,
0 Comments
Answers (1)
John D'Errico
on 19 Feb 2017
How is this a MATLAB question at all? You claim that you do not know the total distance, but that you know the velocity (call it v) and the initial distance (call it d0).
Therefore
total_distance = d0*2;
total_time = total_distance/v;
This is just elementary school mathematics.
If you want to know the distance every 15 minutes, that is in increments of 1/4 hour.
t = 0:0.25:total_time;
d = t*v;
Be careful in case the total time required is not an integer multiple of 0.25.
2 Comments
John BG
on 1 Mar 2017
Hi Y.U.
I understand your question, but developing the 3D satellite surveillance code here would be complicated at best.
would you instead consider receiving a 1D or 2D light version?
if so, there is need for further clarification on your side:
1.
camera - scenario (targeto) set-up
please add details about the camera orientation, angle,

2.
how does the distance between the camera and a reference point of the scenario change over time?
rewording; can one consider distance(time) constant?
3.
can one consider the camera attitude constant too?
or is there distortion correction to perform, have a look at Chan's
John BG
See Also
Categories
Find more on Detection, Range and Doppler Estimation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!