This script generates a tone at 30 dB SPL and feeds it to the cascade of asymmetric resonators with fast-acting compression (CARFAC) model. The excitation pattern is formed by taking the RMS of the output channels.
This code produces the following output:
CF_IHC_params = struct with fields: just_hwr: 0 one_cap: 1 ac_corner_Hz: 20 tau_lpf: 8.0000e-05 tau_out: 5.0000e-04 tau_in: 0.0100 tau1_out: 5.0000e-04 tau1_in: 2.0000e-04 tau2_out: 1.0000e-03 tau2_in: 0.0100