Generate a random series of 100 data points pertaining to the wave height (H) and wave period
(T) for a site where the mean wave height is Hm = 2 m. The wave height should be sampled from
a Rayleigh distribution with the shape parameter set to o = √2/7 and the period should be
sampled from a uniform distribution between 3 and 10 s.
NOTE: If you are using MS Excel to generate your data points, the following commands may be
used to obtain the wave heights and periods:
●
●
Wave height: =2*SQRT(2/PI())*SQRT(-2*LN(RAND())). This command is equivalent to H =
Hmo√ 2 In U where U is a random number between 0 and 1.
Wave period: =3+7*RAND()
Fig: 1