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

📄 xfom.m

📁 GPS TOOLBOX包含以下内容: 1、GPS相关常量和转换因子; 2、角度变换; 3、坐标系转换: &#61656 点变换; &#61656 矩阵变换; &#61656 向量变换
💻 M
字号:
%                             xfom.m
%  Scope:   This MATLAB program plots the figure of merit value versus the 
%           estimated position error.
%  Usage:   xfom
%  Inputs:  - selection of the range of estimated position error; the default 
%             is 1 to 6000 meters 
%  Outputs: - plot of the figure of merit (based on ICD-059 table versus)
%             versus estimated position error
%  External Matlab macros used:  fom
%  Last update:  06/27/00
%  Copyright (C) 1998-00 by LL Consulting. All Rights Reserved.

clear  
close all
yes = 'y';
disp(' ');

%  Specify the range for estimated position error,; the default is 1 to 6000 m.

answer1 = input('Do you want to use the default range [1 6000] --> (y/n)[y] ','s');
disp('  ');
if isempty(answer1)
   answer1 = yes;
end
if strcmp(answer1,yes)
   epe_start = 1.;
   epe_stop = 6000.;
else
   epe_start = input('Select the lower value of the range, in meters --> ');
   epe_stop  = input('Select the upper value of the range, in meters --> ');
   disp('  ');
   epe_start = round(epe_start);
   epe_stop = round(epe_stop);
end

%  Determine the fom values for the specified range

for k = epe_start:epe_stop
    outfom(k) = fom(k);
end
x = epe_start:epe_stop;

%  Execute the plot

figure(1)
plot(x,outfom), grid,...
xlabel('Estimated Position Error, in meters');
ylabel('Figure of Merit');
title('Figure of merit versus Estimated Position Error');
axis([epe_start epe_stop 0 10]);

disp('End of the program  XFOM ');
disp('  ');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -