Code covered by the BSD License  

Highlights from
Toolbox Wavelets

image thumbnail
from Toolbox Wavelets by Gabriel Peyre
Wavelet transform and coding functions, including other more exotic transforms (laplacian, steerable

test_wavelet.m
% Test file for the wavelet library.
%   
%   Copyright (c) 2003 Gabriel Peyr

disp('---> ND Wavelet test.');
M = gen_signal_2d(256,3);
MM = fwt_isotropic(M,2);
MM = fwt_hyperbolic(M,2);

disp('---> 1D wavelet test.');
timing1 = [];
for n=2.^(1:20)
    J = floor( log2(n) );
    f = gen_signal(n,2);
    tic;
    g = perform_79_transform(f, J);
    t = toc; timing1 = [timing1, t];
    disp( sprintf('%d coefficients : %.2f sec.', n, t) );
end

Contact us at files@mathworks.com