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

Fix bug where incorrect noise was added to obsFilt.m calculations in noiseless case

parent a2a5338b
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ function [oOpt, Sme, Smm, condNum] = obsFilt(Pe, Pm, srcCsd, regFacs, snrVal)
snrVal = 10^(-snrVal/10); % Convert deciBel to linear
snrMtx = (snrVal.^2) .* norm(Smm, 'fro')/(size(Pm, 1)^2); % Calculate the appropriate SNR amplitude values
else
snrMtx = 1;
snrMtx = 0;
end
snrMtx = snrMtx .* eye(size(Pm, 1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment