📄 dualmaxvariance.m
字号:
function b = dualMaxVariance(K, Kj, Y, Yj)
%A function to compute the dual max variance vector using Kj
if (nargin ~= 4)
fprintf('%s\n', help(sprintf('%s', mfilename)));
error('Incorrect number of inputs - see above usage instructions.');
end
OPTS.disp = 0;
%OPTS.issym = true; %Think this one is true too
OPTS.isreal = true;
[b, lambda] = eigs(Kj, 1, 'LM', OPTS);
b = b/sqrt(lambda);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -