function[x,t]=readfiles(n,ch);
for i = 1:n
    k=floor(i/10);
    l=i-floor(i/10)*10;
    filename=['2p5_8p2_20p5_01Ch24' char(k)+48 char(l)+48 '_Ch' char(ch+48)  '.wfm'];
    [x(i,:), t]=wfm2read(filename);
    plot(x(i,:));
end
