📄 fom.m
字号:
% fom.m
% Scope: This MATLAB macro sets the figure of merit value based on ICD-059 table.
% Usage: xfom = fom(epe)
% Description of parameters:
% epe - input, estimated position error, in meters
% xfom - output, figure of merit value
% Remark: If an incorrect negative value is entered, i.e. epe < 0, than the figure
% of merit is set as -1.
% Last update: 06/27/00
% Copyright (C) 1998-00 by LL Consulting. All Rights Reserved.
function xfom = fom(epe)
if epe < 0
xfom = - 1;
elseif epe <= 25.
xfom = 1;
elseif epe <= 50.
xfom = 2;
elseif epe <= 75.
xfom = 3;
elseif epe <= 100.
xfom = 4;
elseif epe <= 200.
xfom = 5;
elseif epe <= 500.
xfom = 6;
elseif epe <= 1000.
xfom = 7;
elseif epe <= 5000.
xfom = 8;
else
xfom = 9;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -