clc;clear all;close all;
load sumsin;
s = sumsin;
figure (‘Name’,’Input 1-D Signusoidal Signal’);
plot(s);
figure (‘Name’,’Decomposition’);
[c,l] = wavedec(s,4,’bior1.1′);
subplot(2,2,1);
plot(c);
title(‘Function at resolution level 4’);
[c,l] = wavedec(s,8,’bior1.1′);
subplot(2,2,2);
plot(c);
title(‘Function at resolution level 8’);
[c,l] = wavedec(s,16,’bior1.1′);
subplot(2,2,3);
plot(c);
title(‘Function at resolution level 16’);
[c,l] = wavedec(s,32,’bior1.1′);
subplot(2,2,4);
plot(c);