clear all;
close all;

% nacitanie suboru
[s, fvz] = wavread('veta10_M2_ex.wav');
% nasegmentovanie po 20ms
seg = segment_signal(s, fvz*0.02, fvz*0.02);

ffts = abs(fft(seg));

%ffts = ffts(1:500)
plot(ffts);
