azimuths between points on a plane

1 visualizzazione (ultimi 30 giorni)
yonatan s
yonatan s il 12 Feb 2018
Modificato: yonatan s il 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?

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by