Commit 4b03c7b923be3b7a7ac2568f0d4695a3cceabd56

Authored by bmarechal
1 parent 7420f56d69
Exists in master

add highpass cutoff freq arg

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

... ... @@ -4,8 +4,9 @@
4 4 col = eval(argv(){2});
5 5 mult = eval(argv(){3});
6 6 data.fs = eval(argv(){4});
  7 +f_hp = eval(argv(){5});
7 8  
8   -[b, a] = butter (3, data.fs/1000, "high");
  9 +[b, a] = butter (3, f_hp, "high");
9 10  
10 11 if length(col) == length(mult)
11 12 figure