


FWT1Dtree -- Forward 1D Wavelet Transform
input:
x: 1-d signal; length(x) = 2^J
L: Coarsest Level of analysis, 0 <= L < J
wname: The name of the wavelet
wpar: Wavelet parameter
output:
wcoeftree: Formatted as a tree
every node contains the coefficients