How to create the water wave from the following equations
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Oceanography and Hydrology en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!