# HG changeset patch # User dicklyon@google.com # Date 1331162312 0 # Node ID bef16790194ee8dd0209ab8f7a639ce46f6476f1 # Parent b762fab1a3484b05af6cb0bd5eaa9824e5891d81 added some missing headers diff -r b762fab1a348 -r bef16790194e trunk/matlab/bmm/carfac/CARFAC_Spatial_Smooth.m --- a/trunk/matlab/bmm/carfac/CARFAC_Spatial_Smooth.m Wed Mar 07 23:10:44 2012 +0000 +++ b/trunk/matlab/bmm/carfac/CARFAC_Spatial_Smooth.m Wed Mar 07 23:18:32 2012 +0000 @@ -1,3 +1,22 @@ +% Copyright 2012, Google, Inc. +% Author: Richard F. Lyon +% +% This Matlab file is part of an implementation of Lyon's cochlear model: +% "Cascade of Asymmetric Resonators with Fast-Acting Compression" +% to supplement Lyon's upcoming book "Human and Machine Hearing" +% +% Licensed under the Apache License, Version 2.0 (the "License"); +% you may not use this file except in compliance with the License. +% You may obtain a copy of the License at +% +% http://www.apache.org/licenses/LICENSE-2.0 +% +% Unless required by applicable law or agreed to in writing, software +% distributed under the License is distributed on an "AS IS" BASIS, +% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +% See the License for the specific language governing permissions and +% limitations under the License. + function stage_state = CARFAC_Spatial_Smooth(coeffs, stage, stage_state) % function AGC_state = CARFAC_Spatial_Smooth( ... % n_taps, n_iterations, FIR_coeffs, AGC_state) diff -r b762fab1a348 -r bef16790194e trunk/matlab/bmm/carfac/CARFAC_Transfer_Functions.m --- a/trunk/matlab/bmm/carfac/CARFAC_Transfer_Functions.m Wed Mar 07 23:10:44 2012 +0000 +++ b/trunk/matlab/bmm/carfac/CARFAC_Transfer_Functions.m Wed Mar 07 23:18:32 2012 +0000 @@ -1,3 +1,22 @@ +% Copyright 2012, Google, Inc. +% Author: Richard F. Lyon +% +% This Matlab file is part of an implementation of Lyon's cochlear model: +% "Cascade of Asymmetric Resonators with Fast-Acting Compression" +% to supplement Lyon's upcoming book "Human and Machine Hearing" +% +% Licensed under the Apache License, Version 2.0 (the "License"); +% you may not use this file except in compliance with the License. +% You may obtain a copy of the License at +% +% http://www.apache.org/licenses/LICENSE-2.0 +% +% Unless required by applicable law or agreed to in writing, software +% distributed under the License is distributed on an "AS IS" BASIS, +% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +% See the License for the specific language governing permissions and +% limitations under the License. + function [complex_transfns_freqs, ... stage_numerators, stage_denominators] = ... CARFAC_Transfer_Functions(CF, freqs, to_channels, from_channels)