Wavelet Toolbox
  Go to function:
    Search    Help Desk 
wavemngr    Examples

Wavelet manager.

Syntax

Description

wavemngr is a type of wavelets manager. It allows you to create, add, delete, restore, or read wavelets.

wavemngr('create') creates the wavelets.inf MAT-file using the
wavelets.asc ASCII-file.

wavemngr('add',FN,FSN,WT,NUMS,FILE) or
wavemngr('add',FN,FSN,WT,NUMS,FILE,B), adds a new wavelet family to the toolbox.

FN = Family Name (string)

FSN = Family Short Name (string of length less than four characters)

WT = Wavelet type

WT = 1, orthogonal wavelets

WT = 2, biorthogonal wavelets

WT = 3, wavelet with scaling function

WT = 4, wavelet without scaling function

NUMS = String of numbers

FILE = MAT-file or M-file name (string). See the example for usage.

B = [lb ub] lower and upper bounds of effective support for wavelets of
type = 3 or 4.

This option is fully documented in Chapter Chapter 7, "Adding Your Own Wavelets ."

wavemngr('del',N), deletes a wavelet family. FSN = Family Short Name or Wavelet Name (in the family).

wavemngr('restore') or wavemngr('restore',IN2), restores previous or initial wavelets. If nargin = 1, the previous wavelets.asc file is restored; otherwise the initial wavelets.asc file is restored. Here IN2 is a dummy argument.

OUT1 = wavemngr('read') OUT1 gives all wavelets families.

OUT1 = wavemngr('read',IN2) returns all wavelets, IN2 is a dummy
argument.

OUT1 = wavemngr('read_asc') reads wavelets.asc ASCII-file and OUT1 gives all wavelets information.

Examples

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.

Note: The M-files used in this example can be found in the wavedemo directory.

Caution:  wavemngr works on the current directory. If you add a new wavelet family, it is available in this directory only. Refer to Chapter 7, "Adding Your Own Wavelets ."

Limitations

wavemngr allows you to add a new wavelet. You must verify that it is truly a wavelet. No check is performed either about this point or about the type of the new wavelet.



[ Previous | Help Desk | Next ]