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

📄 cep.m

📁 GPS TOOLBOX包含以下内容: 1、GPS相关常量和转换因子; 2、角度变换; 3、坐标系转换: &#61656 点变换; &#61656 矩阵变换; &#61656 向量变换
💻 M
字号:
%                                cep.m
%  Scope:  This MATLAB macro computes the value of the circular error probable 
%          (CEP).
%  Usage:  xycep = cep(x,y)
%  Description of parameters:
%          x     - input, error vector containing the errors on x axis
%          y     - input, error vector containing the errors on y axis
%          xycep - output, CEP value
%  Remark: The components of the input vectors and the output CEP value 
%          should have the same unit. 
%  Last update:  06/26/00
%  Copyright (C) 1996-00 by LL Consulting. All Rights Reserved.

function  xycep = cep(x,y)

[nrowx,ncolx] = size(x);
[nrowy,ncoly] = size(y);
if  (nrowx ~= nrowy) | (ncolx ~= 1) | (ncoly ~= 1)
   disp('Error  -  CEP; check the dimensions of the input vectors');
   disp('  ');
   return
end 

xycep = 0.615 * std(x) + 0.562 * std(y);

⌨️ 快捷键说明

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