📄 analyze_hypothesis.m
字号:
function analyze_hypothesis (prediction, observations, H)
%-------------------------------------------------------
% University of Zaragoza
% Centro Politecnico Superior
% Robotics and Real Time Group
% Authors: J. Neira, J. Tardos
% Date : 7-2006
%-------------------------------------------------------
global configuration chi2 compatibility;
for i=1:length(H),
if H(i)
d2 = joint_mahalanobis2 (prediction, observations, H(1:i));
dof = 2*length(find(H(1:i)));
if dof > 0
answer = d2 < chi2(dof);
disp(sprintf('i: %d, d^2 %f, chi^2 %f, ans %d', i, d2, chi2(dof), answer));
end
end
end
disp(' ');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -