Documentation

cgauwavf

Complex Gaussian wavelet

Syntax

[PSI,X] = cgauwavf(LB,UB,N,P)
[PSI,X] = cgauwavf(LB,UB,N)
[PSI,X] = cgauwavf(LB,UB,N,1)

Description

[PSI,X] = cgauwavf(LB,UB,N,P) returns values of the P-th derivative of the complex Gaussian function on an N point regular grid for the interval [LB,UB].

For P > 8, Symbolic Math Toolbox™ software is required.

Output arguments are the wavelet function PSI computed on the grid X.

[PSI,X] = cgauwavf(LB,UB,N) is equivalent to
[PSI,X] = cgauwavf(LB,UB,N,1).

These wavelets have an effective support of [-5 5].

Examples

collapse all

Create Complex Gaussian Wavelet

This example shows how to create a complex-valued Gaussian wavelet of order 4. The wavelet has an effective support of [-5,5] and is constructed using 1,000 samples.

lb = -5;
ub = 5;
n = 1000;
order = 4;
[psi,x] = cgauwavf(lb,ub,n,order);
subplot(211)
plot(x,real(psi))
title('Real Part');
subplot(212)
plot(x,imag(psi))
title('Imaginary Part');

See Also

Was this topic helpful?