get_eph.m

来自「it is a source code from gps toolbox」· M 代码 · 共 17 行

M
17
字号
function Eph = get_eph(ephemeridesfile)
%GET_EPH The ephemerides contained in ephemeridesfile
%   	   are reshaped into a matrix with 21 rows and
%	      as many columns as there are ephemerides.

%	      Typical call eph = get_eph('rinex_n.dat')

%Kai Borre 10-10-96
%Copyright (c) by Kai Borre
%$Revision 1.0 $  $Date: 1997/09/23  $

fide = fopen(ephemeridesfile);
[eph, count] = fread(fide,inf,'double');
noeph = count/21;
Eph = reshape(eph, 21, noeph);
%%%%%%%% end get_eph.m %%%%%%%%%%%%%%%%%%%%%

⌨️ 快捷键说明

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