Polar/cartesian into degree north reference

Set of function to convert polar/cartesian coordinates into degrees north and inversely.
2K Downloads
Updated 26 Mar 2009

View License

This set of function change from polar or cartesian coordinates into degrees with north reference. It also change degrees north into cartesian or polar coordinates. This is useful when working with velocity vector, e.g. current, wind.
The functions work with single values or with vectors.

The zip file contain:

- compass2pol.m: change degree north into polar coordinates.
- compass2cart.m: change degree north and velocity into u and v (cartesian coordinates).
- cart2compass.m: change u and v (cartesian coordinates) into degree north and velocity.
- pol2compass.m: change polar coordinates into degree north.

Cite As

Arnaud Laurent (2024). Polar/cartesian into degree north reference (https://www.mathworks.com/matlabcentral/fileexchange/23441-polar-cartesian-into-degree-north-reference), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
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!
Version Published Release Notes
1.0.0.0