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

📄 gps2mjd.m

📁 Sky lab calculate position of satellite in GNSS systems and calculate elevation and azimuth them and
💻 M
字号:
function mjd=gps2mjd(gps)
%GPS2MJD GPS Week and Second past Sunday 0hrs to Modified Julian Date. 
%        GPS2MJD(gps) returns the Modified Julian Date MJD (JD-2400000.5) 
%        given the two-element row vector with the decimal GPS week number 
%        and the number of seconds past midnight of last saterday/sunday
%
%           gps = [ GPSweek GPSsecond]
%
%        If the GPSweek and Second are not OK the function returns the 
%        a NaN.

%        H. van der Marel, LGR, 29-04-95
%        (c) Geodetic Computing Centre, TU Delft

mjd = gps(:,1)*7 + gps(:,2)/86400 + 44244;

⌨️ 快捷键说明

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