comparison matlab/bmm/carfac/CARFAC_AGC_Step.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 056df17e0898
children b3118c9ed67f
comparison
equal deleted inserted replaced
502:37c007925536 504:a0869cb1c99b
15 % distributed under the License is distributed on an "AS IS" BASIS, 15 % distributed under the License is distributed on an "AS IS" BASIS,
16 % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 % See the License for the specific language governing permissions and 17 % See the License for the specific language governing permissions and
18 % limitations under the License. 18 % limitations under the License.
19 19
20 function [state, updated] = CARFAC_AGC_Step(coeffs, detects, state) 20 function [state, updated] = CARFAC_AGC_Step(detects, coeffs, state)
21 % function [state, updated] = CARFAC_AGC_Step(coeffs, detects, state) 21 % function [state, updated] = CARFAC_AGC_Step(detects, coeffs, state)
22 % 22 %
23 % one time step of the AGC state update; decimates internally 23 % one time step of the AGC state update; decimates internally
24 24
25 stage = 1; 25 stage = 1;
26 AGC_in = coeffs.detect_scale * detects; 26 AGC_in = coeffs.detect_scale * detects;