how can I calculate ocean current speed from u and v data?

回答 (1 件)

KSSV
KSSV 2022 年 11 月 2 日

1 投票

Let u and v be the components.
s = sqrt(u.^2+v.^2)

1 件のコメント

Jeffrey Clark
Jeffrey Clark 2022 年 12 月 1 日
@민준 배, since you are asking for velocity and not speed and have orthogonal velocities that I assume match your frame of reference you already have the answer. If you want direction and speed, @KSSV has provide the speed calculation above, and if the direction is to be in local compass where N=0, E=90 etc:
velN = -30;
velE = +20;
speed = norm([velE velN])
direction = atan2d(velE,velN)

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Oceanography and Hydrology についてさらに検索

質問済み:

2022 年 11 月 2 日

コメント済み:

2022 年 12 月 1 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by