Fitting Wave Height Data to a Probability Distribution
Introduction
The University of Maine records real-time accelerometer data from buoys deployed in the Gulf of Maine and the Caribbean (http://gyre.umeoce.maine.edu/buoyhome.php). The data can be downloaded from their website, and includes the significant wave height recorded at regular intervals for the last few months.
This application does the following:
Downloads accelerometer data for Buoy PR206 (located just off the coast of Puerto Rico at a latitude of 18° 28.46' N and a longitude of 66° 5.94' W)
Fits the significant wave height to a Weibull distribution by using two methods: maximum likelihood estimation and moment matching
Plots the fitted distributions on top of a histogram of the experimental data
Download and Plot Significant Wave Height Data in a Histogram
Maximum Likelihood Estimation
Warning, (in maxLike) `i` is implicitly declared local
Moment Matching
Results
Download Help Document