How does MATLAB handle sample size which is not power of two in discrete wavelet transformation?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Kar Yong Ng
am 17 Sep. 2016
Beantwortet: Wayne King
am 4 Okt. 2016
I'd like to know how MATLAB R2012a handles time series which length is not power of two in discrete wavelet transformation (DWT). As I know, in DWT, the sample size N must equal to 2^J (J=decomposition level). But when I load the series with length N=365, and decompose to 5 levels, there were results coming out. So, what is the theory or method used behind?
For your information, I'm using Wavelet Toolbox with graphical interface('wavemenu'), one-dimensional wavelet. Thanks in advance for anyone's help.
0 Kommentare
Akzeptierte Antwort
Wayne King
am 4 Okt. 2016
MATLAB extends the signal or image based on the DWTMODE setting at the command line. In the UI, only one extension mode is used and that is the default symmetric extension mode
dwtmode('sym')
See the help for DWTMODE for more information. You can also play around with wextend() to see specifically how this extension works.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Discrete Multiresolution Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!