work work
This commit is contained in:
BIN
programming/exercises/ampullary.mat
Normal file
BIN
programming/exercises/ampullary.mat
Normal file
Binary file not shown.
16
programming/exercises/psths.m
Normal file
16
programming/exercises/psths.m
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user