16 lines
304 B
Matlab
16 lines
304 B
Matlab
load('ampullary.mat')
|
|
fig = figure();
|
|
|
|
%% create PSTH on the basis of the interspike intervals
|
|
fig.sub
|
|
% 1. get the interspike intervals for each trial
|
|
for i = 1:size(times,2)
|
|
isi = diff(times{i});
|
|
|
|
end
|
|
|
|
%% create PSTH using the binning method
|
|
|
|
|
|
|
|
%% create PSTH using the kernel-convolution method |