Stationary Wavelet Transform
[SWA,SWD]=swt(x,N,wname]) [SWA,SWD]=swt(x,N,Lo_D,Hi_D) SWC=swt(x,N,wname]) SWC=swt(x,N,Lo_D,Hi_D)
wavelet name, haar( "haar"), daubechies ("db1" to "db36"), coiflets ("coif1" to "coif17"), symlets ("sym2" to "sym20"), legendre ("leg1" to "leg9"), bathlets("bath4.0" to "bath4.15" and "bath6.0" to "bath6.15"), dmey ("dmey"), beyklin ("beylkin"), vaidyanathan ("vaidyanathan"), biorthogonal B-spline wavelets ("bior1.1" to "bior6.8"), "rbior1.1" to "rbior6.8"
double vector
lowpass analysis filter
highpass analysis filter
decomposition level, integer larger than zero
approximation coefficent, N by length(x) marix if N larger than 1, or length(x) vector
detail coefficent, N by length(x) marix if N larger than 1, or length(x) vector
composite coefficent, (N+1) by length(x) marix, the last row is last level approximation coefficient
swt is discrete stationary wavelet transform utility. Input vector length must be multiples of power N of 2.
x=rand(1,128); [SWA,SWD]=swt(x,3,'db2'); | ![]() | ![]() |