% Display the image of theContinuous Wavelet Transorm of 
% the signal "transients". 
%
% CWT (Wavelab802).
% ImageCWT (Wavelab802).

clear all;
load transients.asc;
po=transients;
u_cwt=CWT(po,32,'Morlet');
r1=subplot(211);
l1=plot(po,'b','markersize',5);axis([1 length(po) min(po) max(po)]);title('Transients CWT') 
r2=subplot(212);ImageCWT(u_cwt,'Individual','Gray');
set(r1,'position',[0.1 0.77 0.85 0.2]);
set(r2,'position',[0.1 0.1 0.85 0.66]);


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