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