You are on page 1of 4

# functionlist.

## List of functions in the wavelet toolbox.

1 Classical Tools
1.1 Physical-space
Physical-space tools
clip.m - applies a threshold to the input signal
mom.m - pth moment of signal
cmom.m - pth central moment of signal
rms.m - root-mean-square of signal
skew.m - skewness of signal
kurt.m - kurtosis (or flatness) of signal
flat.m - flatness (or kurtosis) of a signal
nmpdf.m - creates a normalized PDF of the input signal
ratio.m - ratio of moments
cmratio.m - ratio of centered moments
corr p.m - cross correlation between two signals
structure function.m - computes the pth order structure function of a signal (1D, from
CD)
gaussianfield2D.m - generate divergence-free vector field (GWN)
gaussianfield2Dspec.m - generate divergence-free random vector field with arbitrary
scaling exponent
pdf centered.m - centered pdf
moving average.m - moving average
nent.m - calculates the entropy of a signal

## 1.1.1 Other functions

Generation of various academic test signals.
gen dirac.m - generates a dirac test signal
gen sinusoid.m - generates a sinusoid test signal
gen step.m - generates a step test signal
gen wnoise.m - generates a Gaussian white noise test signal

1
functionlist.tex Last compiled: Monday 22nd January, 2007 11:41

## 1.1.2 Pre-existing MATLAB functions

min.m - minimum of signal (1D)

## var.m - variance of signal (1D)

1.2 Fourier-space
Fourier-space classical tools.

## periodogram.m - calculates the power spectrum density estimate of 1D signal

cross spectrum.m - calculates the cross-spectrum, the power spectrum of the convo-
lution of two signals

## flipks.m - performs operation of k > k for coefficients of 2D fft (fft2.m)

fmodes.m - returns corresponding frequency (k) values of coefficients in order stored for
1D fft

for 2D fft

## filt nonlin f.m - nonlinear filtering (1D)

2
functionlist.tex Last compiled: Monday 22nd January, 2007 11:41

## 1.2.1 Pre-existing MATLAB functions

The pre-existing MATLAB functions for Fourier-space calculations.

## fftshift.m - shifts zero-frequency component of to center of spectrum

2 Wavelet tools
Functions utilizing the wavelet transform.

## 2.1 Discrete transforms

Functions associated with the discrete wavelet transform:
dwt2D level energy - returns the per level energies of the coefficients of the 2D DWT

## extract2D.m - 2D coherent vortex extraction with iterative method

extract2D jori.m - 2D coherent vortex extraction with entropy criterion (Joris method)

## 2.1.1 Wavelab functions

Functions coming directly from the wavelab library of matlab scripts.

makeONFilter.m - generates the filter coefficients for the discrete wavelet transforms
(from wavelab)

FWT PO.m - Calculates the coefficients of the discrete Forward Wavelet Transform,
periodic, orthogonal (from wavelab)

IWT PO.m - Reconstructs the signal from the coefficients of the discrete forward
wavelet transform (from wavelab)

3
functionlist.tex Last compiled: Monday 22nd January, 2007 11:41

## 2.2 Continuous wavelet transforms

Functions involving the continuous wavelet transform (CWT).

## cwscale.m - converts between the various scales of the CWT (i.e. a, k, l)

cwt1D.m - returns the 1D CWT coefficients of a signal, using either the complex Morlet
or mexican hat wavelet

## wphase.m - calculates the phase of the wavelet coefficients

ICWT mexh.m - Inverse CWT using the mexican hat wavelet (needs more testing)

## ICWT P.m - Inverse CWT (testing needed)

cwt2D.m - returns the coefficients of a 2D CWT with the complex Morlet wavelet

## wmorlet.m - matlab literal translation of Maries 2D CWT code (c. 1990)

wmorlet matlab.m - matlab optimized translation of Maries 2D CWT code (c. 1990)

Generating wavelets:

## gen mexh.m - generate a 1D mexican hat wavelet

Plotting functions:

## drawCWT2D.m - plots the 2D CWT coefficients (not finished / needs improvement)

plot morlet and spectrum.m - GUI to plot the complex Morlet wavelet and its Fourier
spectrum for different parameters of the wavelet (wavenumber, scale, and transla-
tion)