morlet
Generate a Morlet wavelet.
Syntax
psi = morlet(lb, ub, n)
[psi,x] = morlet(...)
Inputs
- lb
- The lower bound.
- ub
- The upper bound.
- n
- The number of points.
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');