Wavelet Toolbox™ Previous page   Next Page 
 Provide feedback about this page

Adding a New Wavelet Family

To add a new wavelet, use the wavemngr command in one of two forms:

or

Here are a few examples to illustrate how you would use wavemngr to add some of the predefined wavelet families:

Type
Syntax
1
wavemngr('add','Ndaubechies','ndb',1,'1 2 3 4 5','dbwavf');
1
wavemngr('add','Ndaubechies','ndb',1,'1 2 3 4 5 **','dbwavf');
2
wavemngr('add','Nbiorwavf','nbio',2,'1.1 1.3','biorwavf');
3
wavemngr('add','Nmeyer','nmey',3,'','meyer',[-8,8]);
4
wavemngr('add','Nmorlet','nmor',4,'','morlet',[-4,4]).

Example 1

Let us take the example of Binlets proposed by Strang and Nguyen in pages 216-217 of the book Wavelets and Filter Banks (see [StrN96] in References).

The full family name is Binlets.

The short name of the wavelet family is binl.

The wavelet type is 2 (Biorthogonal with FIR filters).

The order of the wavelet within the family is 7.9 (we just use one in this example).

The M-file used to generate the filters is binlwavf.m

Then to add the new wavelet, type

If you want to get online information on this new family, you can build an associated help file which would look like the following:

The associated M-file to generate the filters (binlwavf.m) is

Example 2

In the following example, new compactly supported orthogonal wavelets are added to the toolbox. These wavelets, which are a slight generalization of the Daubechies wavelets, are based on the use of Bernstein polynomials and are due to Kateb and Lemarié in an unpublished work.


 Provide feedback about this page 

Previous page Preparing to Add a New Wavelet Family After Adding a New Wavelet Family Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS