function y = convergence(t, scale)
% Generate values at a point t, of a recursively-defined
% scaling function, at iterations n=0,1,...,7, showing
% its pointwise convergence as n increases.
%
% To show the convergence of iterates of daub4() at t=0.5,
% use
%   plot( convergence(0.5, @daub4) )
%
% M.V.Wickerhauser, 2008-04-01
%
y=scale(0,t);
 for(n=1:7)
     y = [y scale(n,t)];
 end
end
