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

Update obsFilt.m to accept complex valued regularisation values

parent 181f1d8d
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
% Author: Achilles Kappis
% e-mail: axilleaz@protonmail.com
%
% Date: 05/03/2025 (DD/MM/YYYY)
% Date: 10/03/2025 (DD/MM/YYYY)
%
% Copyright: MIT
% --------------------------------------------------
......@@ -107,7 +107,7 @@ function [oOpt, Sme, Smm, condNum] = obsFilt(Pe, Pm, Svv, regFacs, snrVal)
end
if nargin > 3 && ~isempty(regFacs)
validateattributes(regFacs, "numeric", {'2d', 'real', 'nonnan', 'nonempty', 'finite'}, mfilename, "Regularisation factors", 4);
validateattributes(regFacs, "numeric", {'2d', 'nonnan', 'nonempty', 'finite'}, mfilename, "Regularisation factors", 4);
% Make sure regFacs has correct dimensions
if ~isscalar(regFacs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment