OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

mdwt

Contents

Menu Information

Multi-Scale DWT

Brief Information

Multilevel 1-D wavelet decomposition

Additional Information

This feature is for OriginPro only.

Command Line Usage

1. mdwt ix:=2 level:=4;

2. mdwt ix:=2 type:=db2 level:=5;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input ix

Input

vector

<active>

Specify the input signal

Wavelet Type type

Input

int

haar

Specify the wavelet type Option list

  • haar:Haar
    Haar wavelet
  • db 2:DB2
    Daubechies wavelet (N=4
  • db 3:DB3
    Daubechies wavelet (N=6)
  • db 4:DB4
    Daubechies wavelet (N=8)
  • db 5:DB5
    Daubechies wavelet (N=10)
  • db 6:DB6
    Daubechies wavelet (N=12)
  • db 7:DB7
    Daubechies wavelet (N=14)
  • db 8:DB8
    Daubechies wavelet (N=16)
  • db 9:DB9
    Daubechies wavelet (N=18)
  • db 10:DB10
    Daubechies wavelet (N=20)
  • b11:Bior1.1
    Biorthogonal (Nr=1, Nd=1)
  • b13:Bior1.3
    Biorthogonal (Nr=1, Nd=3)
  • b15:Bior1.5
    Biorthogonal (Nr=1, Nd=5)
  • b22:Bior2.2
    Biorthogonal (Nr=2, Nd=2)
  • b24:Bior2.4
    Biorthogonal (Nr=2, Nd=4)
  • b26:Bior2.6
    Biorthogonal (Nr=2, Nd=6)
  • b28:Bior2.8
    Biorthogonal (Nr=2, Nd=8)
  • b31:Bior3.1
    Biorthogonal (Nr=3, Nd=1)
  • b33:Bior3.3
    Biorthogonal (Nr=3 Nd=3)
  • b35:Bior3.5
    Biorthogonal (Nr=3, Nd=5)
  • b37:Bior3.7
    Biorthogonal (Nr=3, Nd=7)
Extension Mode ext

Input

int

periodic

Specify the end extension mode used in wavelet transform

Option list

  • periodic:Periodic
    The input signal will be viewed as periodic.
  • pad0:Zero -padded
    The data points outside the input range will be viewed as zeroes.
Decomposition Level level

Input

int

1

Specify the number of levels for which detail coefficients are to be thresholded. A large level will cause more noise to be removed; but unfortunately the probability that the useful signal is distorted will be larger, compared with a small level.

Multiple Coeff Data rd

Output

ReportData

[<input>]<new>!

Specify the output worksheet for the approximation coefficients and detail coefficients of different levels.


Examples

1. To perform 4-level wavelet decomposition to data in columns 2 of the active worksheet, use the script command:

mdwt ix:=2 level:=4;

2. To specify wavelet type, use the type variable. For example, if you want to use Daubechies wavelet (N=2) to perform 5-level wavelet decomposition to data in column 2, enter the following script command:

mdwt ix:=2 type:=db2 level:=5;

For more examples, please refer to XF Script Dialog (press F11).

More Information

For more information, please refer to our User Guide.


Related X-Functions

dwt, idwt, wtsmooth