- function data_1=Extract_data(filenm,t1,t2,i)
- file=filenm;
- numdl=33;
- smpf=210;
- [EEGmatrix, tsample]=loadEEG (file, numdl, smpf);
- % tt=tsample;
- point_number1=fix(smpf*t1*60);
- point_number2=fix(smpf*t2*60);
- data_1=EEGmatrix(i,point_number1:point_number2);