
dwt
Menu Information
Decompose
Brief Information
1D discrete wavelet transform
Additional Information
This feature is for OriginPro only.
Command Line Usage
1. dwt ix:=Col(1);
2. dwt ix:=Col(1) type:=db2;
3. dwt ix:=Col(1) ext:=pad0;
4. dwt ix:=Col(1) ca:=Col(3) cd:=Col(4);
Variables
Display Name
| Variable Name
| I/O and Type
| Default Value
| Description
|
| Input
| ix
|
Input
vector
| <active>
|
Specify the input signal
|
| Wavelet Type & Order
| type
|
Input
int
| H
|
Specify the wavelet type
Option list
- haar:Haar
- Haar wavelet
- db 2:DB2
- Daubechies wavelet (N=2)
- db 3:DB3
- Daubechies wavelet (N=3)
- db 4:DB4
- Daubechies wavelet (N=4)
- db 5:DB5
- Daubechies wavelet (N=5)
- db 6:DB6
- Daubechies wavelet (N=6)
- db 7:DB7
- Daubechies wavelet (N=7)
- db 8:DB8
- Daubechies wavelet (N=8)
- db 9:DB9
- Daubechies wavelet (N=9)
- db 10:DB10
- Daubechies wavelet (N=10)
- 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
| P
|
Specify the end extension mode
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.
|
| Approx Coefficient
| ca
|
Output
vector
| <new>
|
Specify the vector for approximation coefficients
|
| Detail Coefficient
| cd
|
Output
vector
| <new>
|
Specify the vector for detail coefficients
|
Examples
1. To decompose the signal in Column 1 of the active sheet using Haar wavelet and periodic as the extension mode, use the script command:
dwt ix:=col(1)
2. To perform dwt using a pre-saved analysis theme called MyTheme, use the script command:
dwt -t "MyTheme"
More Information
For more information, please refer to our User Guide.
-
Related X-Functions
idwt, dwt2, idwt2