Merge branch 'master' of whale:scientificComputing
This commit is contained in:
commit
ab751a4bdd
5
.gitignore
vendored
5
.gitignore
vendored
@ -3,14 +3,19 @@
|
||||
*.lol
|
||||
*.loe
|
||||
*.idx
|
||||
*.ilg
|
||||
*.ind
|
||||
*.log
|
||||
*.loi
|
||||
*.loiboxf
|
||||
*.aux
|
||||
*.nav
|
||||
*.out
|
||||
*.snm
|
||||
*.toc
|
||||
*.mat
|
||||
*.pdf
|
||||
*.eps
|
||||
.#*
|
||||
#*#
|
||||
*.~
|
||||
|
@ -7,4 +7,4 @@ clean:
|
||||
rm -f `basename *.tex .tex`.pdf
|
||||
|
||||
zip: latex
|
||||
zip `basename *.tex .tex`.zip *.pdf *.dat *.mat
|
||||
zip `basename *.tex .tex`.zip *.pdf *.dat data/*.mat
|
||||
|
@ -6,7 +6,7 @@ vs = zeros(length(files), 1);
|
||||
for i = 1:length(files)
|
||||
load(strcat('../data/', files(i).name))
|
||||
eod_time = (1:length(eod)) .* dt;
|
||||
zero_crossings = zeroCrossings(eod, eod_time);
|
||||
zero_crossings = zeroCrossings(eod, eod_time, 0);
|
||||
while spike_times(1) <= zero_crossings(1)
|
||||
spike_times(1) = [];
|
||||
end
|
||||
|
Reference in New Issue
Block a user