With this function, you can get the value of L (wavelength), k (wave number), sigma(angular frequency), using different solutions of the dispersion relationship.
h = deep water (m)
T = wave period (s)
kr = wave number with Newton-Rhapson (1/m)
Lr = wavelength with Newton-Rhapson (m)
sigma = angular frequency (1/T)
In the command window you can see the different values which were computed, using different equations.
Fenton,J.D and Mckee,W.D.(1990). On calculating the lengths
of water waves. Coastal Engineering 14, 499-513p.
Gabriel Ruiz-Martinez (2022). 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 CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!