This code computes the Unified Model spectrum described in the paper "A Unified Model for Unimodal and Bimodal Wave Spectra" by Ed Mackay, published at the European Wave and Tidal Energy Conference (EWTEC), September 2015, Nantes, France.
The zip file contains two functions and a data file.
The function "jonswap_spectrum" computes the standard JONSWAP spectrum for input parameters significant wave height (Hs), energy period (Te), and peak enhancement factor (gamma).
The function "unified_spectrum" computes the Unified Model spectrum for input parameters Hs, Te and spectral shape parameters Han^2 and dTn (see paper for definition)
The data file "unified_model_parameters" contains the look-up table of parameters for the unified model spectrum.
Ed Mackay (2023). Unified Model for Unimodal and Bimodal Ocean Wave Spectra (https://www.mathworks.com/matlabcentral/fileexchange/55015-unified-model-for-unimodal-and-bimodal-ocean-wave-spectra), 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!