% Display in the Time-Frequency plane, by using Wavelab802, 
% for the signal "transients", the Compared Images of the 
% Continuous Wavelet Transforms by using: 
% (a) Gauss, (b) DerGauss, (c) Sombrero, (d) Morlet. 

clear all;
load transients.asc;
po=transients;

a_cwt=CWT(po,16,'Gauss');
b_cwt=CWT(po,16,'DerGauss');
c_cwt=CWT(po,16,'Sombrero');
d_cwt=CWT(po,16,'Morlet');
subplot(221);ImageCWT(a_cwt,'Individual','Gray');title('Transients CWT by a Gauss');
subplot(222);ImageCWT(b_cwt,'Individual','Gray');title('Transients CWT by a DerGauss');
subplot(223);ImageCWT(c_cwt,'Individual','Gray');title('Transients CWT by a Sombrero');
subplot(224);ImageCWT(d_cwt,'Individual','Gray');title('Transients CWT by a Morlet');


%"Complex and Chaotic Nonlinear Dynamics. 
% Advances in Economics and Finance, 
% Mathematics and Statistics" 
% T.Vialar, Springer 2009.