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

📄 vep.m

📁 Matlab GPS Toolbox
💻 M
字号:
%                                vep.m
%  Scope:  This MATLAB macro computes the value of the vertical error 
%          probable (VEP).
%  Usage:  yvep = vep(y)
%  Description of parameters:
%          y     - input, error vector containing the errors on y axis
%          yvep  - output, vertical error probable (VEP) value
%  Last update:  06/26/00
%  Copyright (C) 1996-00 by LL Consulting. All Rights Reserved.

function  yvep = vep(y)

[nrowy,ncoly] = size(y);
if  (nrowy < 2) | (ncoly ~= 1)
   disp('Error  -  VEP; check the dimensions of the input vector');
   disp('  ');
   return
end 

ymean = mean(y);
for  k = 1:nrowy
   ytemp(k) = abs(ymean - y(k));
end
yvep = median(ytemp');

⌨️ 快捷键说明

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