comparison trunk/matlab/bmm/carfac/CARFAC_Run.m @ 517:aa282a2b61bb

Bug fixes to make binaural work
author dicklyon@google.com
date Thu, 16 Feb 2012 18:34:04 +0000
parents 68c15d43fcc8
children 2b96cb7ea4f7
comparison
equal deleted inserted replaced
516:68c15d43fcc8 517:aa282a2b61bb
138 agcsum = sum(CF.AGC_state(mic).AGC_memory, 2); 138 agcsum = sum(CF.AGC_state(mic).AGC_memory, 2);
139 maxsum(mic) = max(maxsum, max(agcsum)); 139 maxsum(mic) = max(maxsum, max(agcsum));
140 hold on 140 hold on
141 plot(agcsum, 'k-') 141 plot(agcsum, 'k-')
142 end 142 end
143 axis([0, CF.n_ch, 0, max(0.001, maxsum)]); 143 axis([0, CF.n_ch, 0, max(0.001, max(maxsum))]);
144 drawnow 144 drawnow
145 end 145 end
146 end 146 end
147 end 147 end
148 148