4 [af, sf] = farras; % analysis and synthesis filter
5 x=zeros(1,64); % create generic signal whose values are all 0
6 w = dwt(x,3,af); % analysis filter banks (3 stages)
7 w{3}(4)=1; % setting one of the wavelet coefficients to be 1
8 y = idwt(w,3,sf); % synthesis filter banks (3 stages)
9 plot(y); % Plot the wave
10 title('Standard 1-D wavelet transform')