📄 uv_rotate.m
字号:
function [ur,vr] = uv_rotate(u,v,theta)
% uv_rotate: rotates (east, north) current components
%
% (u,v) are (east, north) current components.
% theta is rotation angle in compass degrees.
% ur is the current component in a direction
% theta degrees clockwise from east.
% vr is the current component in a direction
% theta degrees clockwise from north.
[dir,spd] = uv2polar(u,v);
dir = dir - theta;
[ur,vr] = polar2uv(dir,spd);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -