shanwavf
Generate a complex Shannon wavelet.
Syntax
psi = shanwavf(lb, ub, n, fb, fc)
[psi,x] = shanwavf(...)
Inputs
- lb
- The lower bound.
- ub
- The upper bound.
- n
- The number of points.
- fb
- The frequency bandwidth parameter.
- fc
- The center frequency.
Outputs
- psi
- The complex Shannon wavelet values.
- x
- The grid values.
Example
Plot the real and imaginary components of a complex Shannon wavelet.
lb = -5;
ub = 5;
n = 401;
fb = 3;
fc = 2;
[psi,x] = shanwavf(lb,ub,n,fb,fc);
plot(x, real(psi));
xlabel('time');
ylabel('ampl_real');
figure;
plot(x, imag(psi));
xlabel('time');
ylabel('amp_imag');