Skip to content
Snippets Groups Projects
Commit 3c9b08f2 authored by Achilles Kappis's avatar Achilles Kappis
Browse files

Change the order of for-loop indexing to ensure no resizing will take place in obsFiltTd.m

parent bd3099f0
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,7 @@ function [O, Rme, Rmm, Ovec, RmeMtx, RmmMtx, condNum, mMtx, Omean, RmeMean, RmmM
tmp = m(:, mIdx, jIdx);
% Calculate the cross-correlations between virtual and monitoring microphones
for eIdx = 1:size(e, 2)
for eIdx = size(e, 2):-1:1
corr = xcorr(tmp, e(:, eIdx, jIdx), filtLen);
Rme(:, mIdx, eIdx, jIdx) = corr(filtLen + 1:-1:2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment