% Compute and plot the Wigner-Ville distribution 
% of the signal "transients".

clear all;

load transients.asc;

tra=transients;

figure;
r1=subplot(211);
l1=plot(tra,'b','markersize',5);
axis([1 length(tra) min(tra) max(tra)]);
ylabel('Transients'); 
r2=subplot(212);wvdist(tra);%axis([0 1 0 0.5]);


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.
% Copyright(c).