Plotting the local NED vector on earth

I would like to plot the local NED (North East Down) vector on the surface of the earth at a given ECEF point. Some functions from the mapping toolbox, namely ecef2nedv give the components of the NED vector at a given point but they don't give the local NED direction vector. Is there a way I can compute the local NED direction vectors at a given ECEF coordinate?
I understand that plotting the vectors is just done using quiver3, where the north,east and down direction vectors are calculated in terms of ECEF
v_north = quiver3(pt(1),pt(2),pt(3), dir_north(1),dir_north(2),dir_north(3));
v_east = quiver3(pt(1),pt(2),pt(3), dir_east(1),dir_east(2),dir_east(3));
v_down = quiver3(pt(1),pt(2),pt(3), dir_down(1),dir_down(2),dir_down(3));
Thanks in advance

回答(0 个)

产品

版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by