Function evaluation on bases

evalbs(w,b,f) Returns the result of applying the function f to each subband of the wavelet packet basis b which comprises the coefficients in w. Returns a matrix whose rows describe the subband to which f was applied, followed by the values of the function on that subband.

applybs(w,b,f) Returns the result of applying the function f to each subband of the wavelet packet basis b which comprises the coefficients in w. Returns a matrix the same size as w.

Arguments:

Mathcad Example