Extract_data.m
上传用户:xhrjvip
上传日期:2020-11-07
资源大小:2k
文件大小:0k
源码类别:

生物技术

开发平台:

Matlab

  1. function data_1=Extract_data(filenm,t1,t2,i)
  2. file=filenm;
  3. numdl=33;
  4. smpf=210;
  5. [EEGmatrix, tsample]=loadEEG (file, numdl, smpf);
  6.   % tt=tsample;
  7.    point_number1=fix(smpf*t1*60);
  8.    point_number2=fix(smpf*t2*60);
  9.    data_1=EEGmatrix(i,point_number1:point_number2);
  10.