azimuths between points on a plane

1 vue (au cours des 30 derniers jours)
yonatan s
yonatan s le 12 Fév 2018
Modifié(e) : yonatan s le 12 Fév 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?

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by