Commit 2c756c95 authored by Thomas Biberger's avatar Thomas Biberger

replace fs/4 by replace def.down_samplerate/4

parent f853a46a
......@@ -57,10 +57,10 @@ mCorrR = ones(params.mod_filt_range.end,params.auditory_filt_range.end);
for kk = params.mod_filt_range.start:params.mod_filt_range.end
for ll = params.auditory_filt_range.start:params.auditory_filt_range.end
refL_ = Ref_l.Ymod1(round(fs/4):end,ll,kk);
refR_ = Ref_r.Ymod1(round(fs/4):end,ll,kk);
signalL_ = Test_l.Ymod2(round(fs/4):end,ll,kk);
signalR_ = Test_r.Ymod2(round(fs/4):end,ll,kk);
refL_ = Ref_l.Ymod1(round(def.samplerate_down/4):end,ll,kk);
refR_ = Ref_r.Ymod1(round(def.samplerate_down/4):end,ll,kk);
signalL_ = Test_l.Ymod2(round(def.samplerate_down/4):end,ll,kk);
signalR_ = Test_r.Ymod2(round(def.samplerate_down/4):end,ll,kk);
mCorrL(kk,ll) = cc(refL_,signalL_);
mCorrR(kk,ll) = cc(refR_,signalR_);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment