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