azimuths between points on a plane

3 次查看(过去 30 天)
yonatan s
yonatan s 2018-2-12
编辑: yonatan s 2018-2-12
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?

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by