% Set number of iterations and wavelet name. 
%axis on
load kombi567
inputsig=100000*kombi567

wav = 'db2';

[apr,dif]=DWT(inputsig,wav) 

subplot(3,1,1)
plot(inputsig)
subplot(3,1,2)
plot(apr)
subplot(3,1,3)
plot(dif)