Mercurial > hg > aimc
diff trunk/matlab/bmm/carfac/CARFAC_Spatial_Smooth.m @ 534:95a11cca4619
Add CARFAC_Design_Doc.txt, CARFAC_Run_Segment.m, and some renames; rename various variables to be more parallel; clean up init code and such.
author | dicklyon@google.com |
---|---|
date | Fri, 16 Mar 2012 04:19:24 +0000 |
parents | bef16790194e |
children | 2964a3b4a00a |
line wrap: on
line diff
--- a/trunk/matlab/bmm/carfac/CARFAC_Spatial_Smooth.m Mon Mar 12 06:14:53 2012 +0000 +++ b/trunk/matlab/bmm/carfac/CARFAC_Spatial_Smooth.m Fri Mar 16 04:19:24 2012 +0000 @@ -38,11 +38,11 @@ case 5 % 5-tap smoother duplicates first and last coeffs: for iter = 1:n_iterations stage_state = ... - FIR_coeffs(1) * (stage_state([1, 1, 1:(end-2)], :) + ... + FIR_coeffs(1) * (stage_state([1, 2, 1:(end-2)], :) + ... stage_state([1, 1:(end-1)], :)) + ... FIR_coeffs(2) * stage_state + ... FIR_coeffs(3) * (stage_state([2:end, end], :) + ... - stage_state([3:end, end, end], :)); + stage_state([3:end, end, end-1], :)); end otherwise error('Bad n_taps in CARFAC_Spatial_Smooth');