Mercurial > hg > aimc
comparison matlab/bmm/carfac/CARFAC_Run.m @ 504:a0869cb1c99b
Major update to how the DOHC works; like in recent book OHC chapter; Design Doc update (a bit)
author | dicklyon@google.com |
---|---|
date | Thu, 24 May 2012 22:26:56 +0000 |
parents | 37c007925536 |
children | 1d720e7fffdf |
comparison
equal
deleted
inserted
replaced
502:37c007925536 | 504:a0869cb1c99b |
---|---|
70 end | 70 end |
71 | 71 |
72 | 72 |
73 naps = zeros(n_samp, n_ch, n_ears); | 73 naps = zeros(n_samp, n_ch, n_ears); |
74 | 74 |
75 seglen = 256; | 75 seglen = 441; % anything should work; this is 20 ms at default fs |
76 n_segs = ceil(n_samp / seglen); | 76 n_segs = ceil(n_samp / seglen); |
77 | 77 |
78 if nargout > 1 | 78 if nargout > 1 |
79 % make decimated detect output: | 79 % make decimated detect output: |
80 decim_naps = zeros(n_segs, CF.n_ch, CF.n_ears); | 80 decim_naps = zeros(n_segs, CF.n_ch, CF.n_ears); |