locate.m
来自「it is a source code from gps toolbox」· M 代码 · 共 25 行
M
25 行
function iloc = locate(iprn_value)
%LOCATE For a given iprn_value we find the component
% number iloc for the satellite in the vector
% of unknowns
%Kai Borre 09-20-96
%Copyright (c) by Kai Borre
%$Revision: 1.1 $ $Date: 1997/10/29 $
global sat_index
for i = 1:25
if (sat_index(i) == 0)
iloc = i;
sat_index(i) = iprn_value;
break;
end;
if (sat_index(i) == iprn_value)
iloc = i;
break;
end;
end;
iloc = iloc+3; % we add 3 for the coordinate unknowns
%%%%%%%%%%%% end locate.m %%%%%%%%%%%%%%%%%%%%%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?