How to create the water wave from the following equations

3 次查看(过去 30 天)
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