morlet

Generate a Morlet wavelet.

Syntax

psi = morlet(lb, ub, n)

[psi,x] = morlet(...)

Inputs

lb
The lower bound.
Dimension: scalar
ub
The upper bound.
Dimension: scalar
n
The number of points.
Dimension: scalar

Outputs

psi
The Morlet wavelet values.
x
The grid values.

Example

Plot a Morlet wavelet.

lb = -3;
ub = 3;
n = 201;
[psi,x] = morlet(lb,ub,n);
plot (x, psi);
xlabel('time');
ylabel('amplitude');
Figure 1. morlet figure 1


Comments