필터 지우기
필터 지우기

How to create the water wave from the following equations

조회 수: 5 (최근 30일)
Barkat
Barkat 2017년 8월 17일
편집: Barkat 2017년 8월 17일
Dear All I want to generate a random water wave defined by the following data. Can you please help me to simulate it with the following equations and conditions? I am new in MATLAB so please guide me. Thank you in Advance
if true
d= 30% m; % Depth of the sea
A=0.2% m;
Lmda=1.3% m;
H=0.25% m;
A=H/2;
With this data, the waves must be generated in x direction from 0 to 400 m at time t.
K=2*pi/lmbda;
%conditions
(d/lmbda)>0.5
K*d>pi;
d>1.3*H;
U(x,t)=A*omega*cosh(k*(z+d))*cos(k*x-omega*t)/cosh(k*d);
U_dot(x,t)=(omega^2)*A*cosh(k*(z+d))*sin(k*x-omega*t)/cosh(k*d);
Plot(t,x)
Plot(U)
Plot(U_dot)% code
end
The following equation are also simulated

답변 (0개)

카테고리

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