Polar/cartesian into degree north reference

Set of function to convert polar/cartesian coordinates into degrees north and inversely.

You are now following this Submission

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 (2026). Polar/cartesian into degree north reference (https://www.mathworks.com/matlabcentral/fileexchange/23441-polar-cartesian-into-degree-north-reference), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0