フィルターのクリア

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 Center および File ExchangeOceanography and Hydrology についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by