
% wavefun is from the wavelet toolbox
% this script geverates the coiflet wavelet

iter = 5;
[phi, psi, x] = wavefun('coif4',iter);
figure(1), clf
subplot(2,1,1), plot(x,phi), title('phi Coif4')
axis([5,18,-1,1.5])
subplot(2,1,2), plot(x,psi), title('psi Coif4')
axis([5,18,-1,1.5])
