Direct Restruction
Y=upcoef(type,x,wname,[N],[L]) Y=upcoef(type,x,Lo_R,Hi_R,[N],[L])
approximation or detail, 'a' or 'd'.
input vector
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"
reconstruction
lowpass synthesis filter
highpass syntheis filter
restruction level
desired output length
upcoef is for upward reconstruction from any desired input vector.
x=rand(1,100); [cA,cD]=dwt(x,'db2'); Y=upcoef('a',cA,'db2',1); Z=upcoef('a',cA,'db2',3); | ![]() | ![]() |