Home > wafo > trgauss > gaus2dat.m

# gaus2dat

## PURPOSE

Transforms xx using the inverse of transformation g.

## SYNOPSIS

x = gaus2dat(xx,g)

## DESCRIPTION

```  GAUS2DAT Transforms  xx  using the inverse of transformation  g.

CALL: x = gaus2dat(xx,g);

xx = input data with time in first column and values in second.
g  = transform function, xx=g(x).
x  = invers transformed data, x=G(xx), G=g^(-1).

## CROSS-REFERENCE INFORMATION

This function calls:
 tranproc Transforms process X and up to four derivatives
This function is called by:
 cav76pdf Cavanie et al. (1976) approximation of the density (Tc,Ac) Chapter3 % CHAPTER3 Demonstrates distributions of wave characteristics lh83pdf Longuet-Higgins (1983) approximation of the density (Tc,Ac) reconstruct reconstruct the spurious/missing points of timeseries spec2AcAt Evaluates survival function R(h1,h2)=P(Ac>h1,At>h2). spec2Acdf Evaluates cdf of crests P(Ac<=h) or troughs P(At<=h). spec2cmat Joint intensity matrix for cycles (max,min)-, rainflow- and (crest,trough) spec2mmtpdf Calculates joint density of Maximum, minimum and period. spec2tccpdf Evaluates densities of wave period Tcc, wave lenght Lcc. spec2thpdf Joint density of amplitude and period/wave-length characteristics spec2tpdf Evaluates densities for crest-,trough-period, length. spec2tpdf2 Evaluates densities for various wave periods or wave lengths trraylpdf Calculates transformed Rayleigh approximation for amplitudes

## SOURCE CODE

```01 function x = gaus2dat(xx,g)
02 % GAUS2DAT Transforms  xx  using the inverse of transformation  g.
03 %
04 %  CALL: x = gaus2dat(xx,g);
05 %
06 %        xx = input data with time in first column and values in second.
07 %        g  = transform function, xx=g(x).
08 %        x  = invers transformed data, x=G(xx), G=g^(-1).
09 %