An airplane is moving with constant velocity along x-axis between two points. I need to plot range from the stationary object on the ground with position [0,250,0]. I’m using rangeangle MATLAB function to find the range and angles. I need to create a loop to plot all the points.
That what I have so far
TargetLoc = [0;-250;0];
Origin = [-2000;0;450];
[tgtrng, tgtang] = rangeangle(TargetLoc,Origin);
Thanks in advance.