⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fom.m

📁 GPS TOOLBOX包含以下内容: 1、GPS相关常量和转换因子; 2、角度变换; 3、坐标系转换: &#61656 点变换; &#61656 矩阵变换; &#61656 向量变换
💻 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 + -