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

조회 수: 26 (최근 30일)
민준 배
민준 배 2022년 11월 2일
댓글: Jeffrey Clark 2022년 12월 1일
I have only eastward sea water velocity and northward sea water velocity.
With this two data, how can I calculate ocean current speed?

답변 (1개)

KSSV
KSSV 2022년 11월 2일
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)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Oceanography and Hydrology에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by