mydwt : single-level discrete 1-D wavelet transform (db3) mywaveDec: multilevel 1-D wavelet decomposition myupsconv: Upsample and convolution 1D mywrcoef: Reconstruct single branch from 1-D wavelet coefficients functions above are the same as those in matlab.