azimuths between points on a plane

1 view (last 30 days)
yonatan s
yonatan s on 12 Feb 2018
Edited: yonatan s on 12 Feb 2018
ola,
I'm using now atan2d to calculate azimuths (relative to east) on a plane between two grids, sized 970X1144:
for i=1:length(f)
xx=x-x(f(i)); yy=y-y(f(i));
az=atan2d(yy,xx);
end
however, this method increases running time as it consumes 25% of it.
is there a less time-consuming way of doing this?

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!