DEMO_NSGTF - Nonstationary Gabor filterbank usage demo
Description
This script sets up different nonstationary Gabor filterbank frames with the specified parameters, computes filters and corresponding canonical dual filters as well as the transform and reconstruction of a test signal, and plots the filters and the energy of the coefficients.
This figure shows the filter functions used in the constant-Q
filterbank and the corresponding canonical dual filters.
This figure shows a (color coded) image of the constant-Q
coefficient modulus.
This figure shows the filter functions used in the ERBlet filterbank
and the corresponding canonical dual filters.
This figure shows a (color coded) image of the ERBlet coefficient
modulus.
This figure shows the filter functions used in the Wavelet
filterbank and the corresponding canonical dual filters.
This figure shows a (color coded) image of the Wavelet coefficient
modulus.
This code produces the following output:
Relative error of constant-Q reconstruction (should be close to zero.): 6.435922e-16 Relative error of ERBlet reconstruction (should be close to zero.): 5.597245e-16 Relative error of Wavelet reconstruction (should be close to zero.): 5.137871e-16