Dispersion relationship for water waves

version (2.48 KB) by Gabriel Ruiz-Martinez
This script computes the dispersion relationship for water waves


Updated 4 May 2009

View License

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)
Syntax :
Example: [Lr,kr,sigma]=disper(3.05,5)
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.

Cite As

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
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!