roms_uv2va
Version 1.0.0 (1.22 KB) by
MJFcoNaN
: convert (u_eastwards, v_northwards ) to (velocity , direction_angle)
A kind of "polar coordinate" is widely used in ocean studies with "theta" starting from northward, increasing clockwise.
This function convert
(u_eastwards, v_northwards)
to
(velocity , direction )
the "direction" is angle, 0-360, north is 0, clockwise.
PS: the prefix of "roms_" and the parameters of u_eastwards/v_northwards denotes that I created it for ROMS (Regional Ocean Modeling System, https://www.myroms.org)
Cite As
MJFcoNaN (2024). roms_uv2va (https://www.mathworks.com/matlabcentral/fileexchange/109309-roms_uv2va), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |