how-to-examine-voltage-data-in-intan-record

% step 1, read in data on channel channel:

channel = 1;

[d]=read_Intan_RHD2000_datafile('intan_171213_040628.rhd',[],'amp',channel,0,Inf);

[t]=read_Intan_RHD2000_datafile('intan_171213_040628.rhd',[],'time',channel,0,Inf);

[b,a] = cheby1(4,0.8,[300/(0.5*20000)],'high');

df = filtfilt(b,a,d);

% step 3, plot the data

figure;

plot(t,df);