The code supplied here is crude, and far from optimized. But it does work,
and it is simple enough to be understandable to mathematicians with minimal
exposure to Matlab.
Variations/improvements may be added here later.
Grab these four files, read the first one, crank up Matlab and have fun.
readme file
compresn.m
wavmat.m
indmat.m
(This is http://www.spelman.edu/~colm/matlabwav.html,
click here to return to main page.)