GETMU routine to compute mean wave height or wave period based on water level Routine computes mean wave height based on the relation between muHsig_t and WL_t as used in Van de Graaff (1984) or using a combination of a polynomal of degree 2 and degree 1 (above a specified value of WL_t). Routine is also applicable to compute the mean wave period; this is only possible by using a combination of a polynomal of degree 2 and degree 1 (above a specified value of WL_t) syntax: mu = getMu(WL_t, Relation) input: WL_t = Water level [m] ('Rekenpeil') Relation = (optional) 2*3 matrix giving the relation between WL_t and mu (either muHsig_t or muTp_t); The first row should contain the three coefficients of a polynomal of degree 2; for values of WL_t larger than Relation(2,1), a linear relation given by Relation(2,2:3) will be used. If no relation is given, the relation between muHsig_t and WL_t as used in Van de Graaff (1984) will be applied. example: See also ------------------------------------------------------------- Copyright (c) WL|Delft Hydraulics 2004-2008 FOR INTERNAL USE ONLY Version: Version 1.1, January 2008 (Version 1.0, December 2007) By: <C.(Kees) den Heijer (email: C.denHeijer@tudelft.nl)> -------------------------------------------------------------