summaryrefslogtreecommitdiff
path: root/code/matlab/analye-stdp-freq-dep.m
blob: 85c4030d571cf66ffe1228faa75ae132f2f406de (plain)
1
2
3
4
5
6
7
8
9
10
11
12

raw = load('synapse.destilled');

res = [];
for i=1:(floor(length(raw) / 200)),
  row = raw(((i*200)-199):((i*200)-99),2)';
  res(i,:) = [mean(row), var(row)];
end

for i=1:length(res),
    fprintf(2,'%d, %f, %f\n', int32(i), res(i,1), res(i,2))
end
contact: Jan Huwald // Impressum