Dispersion relationship for water waves
With this function, you can get the value of L (wavelength), k (wave number), sigma(angular frequency), using different solutions of the dispersion relationship.
Inputs:
h = deep water (m)
T = wave period (s)
Outputs:
kr = wave number with Newton-Rhapson (1/m)
Lr = wavelength with Newton-Rhapson (m)
sigma = angular frequency (1/T)
Syntax :
[Lr,kr,sigma]=disper(h,T)
Example: [Lr,kr,sigma]=disper(3.05,5)
Notes:
In the command window you can see the different values which were computed, using different equations.
Referents:
Fenton,J.D and Mckee,W.D.(1990). On calculating the lengths
of water waves. Coastal Engineering 14, 499-513p.
Cite As
Gabriel Ruiz-Martinez (2024). Dispersion relationship for water waves (https://www.mathworks.com/matlabcentral/fileexchange/23995-dispersion-relationship-for-water-waves), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Earth, Ocean, and Atmospheric Sciences > Oceanography and Hydrology >
- Engineering > Civil and Environmental Engineering > Coastal Engineering >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |