Why does lla2flat() return a negative altitude?

7 views (last 30 days)
Example:
>> lla2flat([47.1168 -88.5394 161.5260], [47.1167 -88.5393], 0, 0)
ans =
11.1173 -7.5890 -161.5260

Accepted Answer

Geoff Hayes
Geoff Hayes on 11 Sep 2014
Dereck - check the Algorithms section from lla2flat: The flat Earth z-axis value is the negative altitude minus the reference height (href).
Since your reference height is zero, then the z-axis value is simply -161.5260.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!