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

Fix bug in ptSrcFieldTD.m that would screw dimension when there is only one source present

parent e0aba269
No related branches found
No related tags found
1 merge request!4Fix time-domain calculations of the optimal observation filter
......@@ -170,7 +170,7 @@ function [rSig, rSigMean, rSigMtx, rSigMtxMean, Q] = ptSrcFieldTD(sPos, rPos, fs
end
% Sum source signals at each receiver position
rSig = squeeze(sum(rSigMtx, 3));
rSig = reshape(sum(rSigMtx, 3), size(rSigMtx, 1), size(rSigMtx, 2), size(rSigMtx, 4));
% ====================================================
% Calculate output arguments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment