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)
引用格式
MJFcoNaN (2024). roms_uv2va (https://www.mathworks.com/matlabcentral/fileexchange/109309-roms_uv2va), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2015a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |