% example of car hazard misclassified as a stabbing

load walkcar.txt
l=length(walkcar);
z=ccal(walkcar);z=z(55/500*l:55/500*l+19999);  %355/500*l); 

z=z(8001:20000);           

tfhandtv(z)

drawnow
disp('about to compute the chriplet transform: takes a while')

freqfrac = 0.25 %  (0.5 is the maximum value)
Zff=ff(z,freqfrac,199);% takes a long time (see Bug notice in help)
                       % so try looking at part of the data or decimating the
                       % data by a factor of 2:

[M,N]=size(Zff);
X=linspace(-freqfrac,freqfrac,N);
Y=linspace(-freqfrac,freqfrac,M);
tvs(X,Y,-abs(Zff)); axis('xy'); grid;
xlabel('FREQ. BEG.')
ylabel('FREQ. END')

