How to create the water wave from the following equations

3 visualizaciones (últimos 30 días)
Barkat
Barkat el 17 de Ag. de 2017
Editada: Barkat el 17 de Ag. de 2017
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

Respuestas (0)

Categorías

Más información sobre Oceanography and Hydrology en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by