diff matlab/bmm/carfac/CARFAC_Init.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 896620d9d539
children 03c642677954
line wrap: on
line diff
--- a/matlab/bmm/carfac/CARFAC_Init.m	Sat May 12 04:31:59 2012 +0000
+++ b/matlab/bmm/carfac/CARFAC_Init.m	Thu May 24 22:26:56 2012 +0000
@@ -67,7 +67,8 @@
       'ihc_accum', zeros(n_ch, 1), ...
       'cap_voltage', coeffs.rest_cap * ones(n_ch, 1), ...
       'lpf1_state', coeffs.rest_output * ones(n_ch, 1), ...
-      'lpf2_state', coeffs.rest_output * ones(n_ch, 1) ...
+      'lpf2_state', coeffs.rest_output * ones(n_ch, 1), ...
+      'ac_coupler', zeros(n_ch, 1) ...
       );
   else
     state = struct( ...
@@ -75,7 +76,8 @@
       'cap1_voltage', coeffs.rest_cap1 * ones(n_ch, 1), ...
       'cap2_voltage', coeffs.rest_cap2* ones(n_ch, 1), ...
       'lpf1_state', coeffs.rest_output * ones(n_ch, 1), ...
-      'lpf2_state', coeffs.rest_output * ones(n_ch, 1) ...
+      'lpf2_state', coeffs.rest_output * ones(n_ch, 1), ...
+      'ac_coupler', zeros(n_ch, 1) ...
       );
   end
 end