Home > applications > DUROS > applications > non_DUROS_functions > Numerical_Integration > getMu.m

getMu

PURPOSE ^

GETMU routine to compute mean wave height or wave period based on water level

SYNOPSIS ^

function mu = getMu(WL_t, Relation)

DESCRIPTION ^

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)>
 -------------------------------------------------------------

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 29-Nov-2010 15:42:51 by m2html © 2005