image thumbnail

earth2math

version 1.2.0.0 (1.12 KB) by Cameron Sparr
Convert angles from earth-coordinate (geodetic) system to the math-coordinate system (cartesian)

313 Downloads

Updated 09 Nov 2011

View License

This function takes as input angle measurements in the earth-coordinate system (0 degrees = NORTH, 90 degrees = EAST, 180 deg = SOUTH, 270 deg = WEST), and converts these angle measurements to the math-coordinate system (0 degrees = EAST, 90 deg = NORTH, etc.)

EARTH2MATH Convert earth coordinate angles to math coordinate angles

Syntax:
D = earth2math(E)

Input:
E: single value or vector of earth coordinate angles

Output:
D: single value or vector of equivalent math coordinate angles

Cite As

Cameron Sparr (2021). earth2math (https://www.mathworks.com/matlabcentral/fileexchange/33665-earth2math), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!