From ef4bc2b76078625a4ad0ba5f020b8c9ab1b27e99 Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Tue, 24 Jan 2017 11:31:26 +0100 Subject: [PATCH] added pdf, eps and a few latex index files to gitignore, need to be force-added from now on --- .gitignore | 5 +++++ projects/project_numbers/Makefile | 2 +- projects/project_vector_strength/solution/main.m | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 62cd817..a7fc20d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,14 +3,19 @@ *.lol *.loe *.idx +*.ilg *.ind *.log +*.loi +*.loiboxf *.aux *.nav *.out *.snm *.toc *.mat +*.pdf +*.eps .#* #*# *.~ diff --git a/projects/project_numbers/Makefile b/projects/project_numbers/Makefile index dad25ce..437b664 100644 --- a/projects/project_numbers/Makefile +++ b/projects/project_numbers/Makefile @@ -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 diff --git a/projects/project_vector_strength/solution/main.m b/projects/project_vector_strength/solution/main.m index 379e349..dd9a3ab 100644 --- a/projects/project_vector_strength/solution/main.m +++ b/projects/project_vector_strength/solution/main.m @@ -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