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

📄 mecefeci.m

📁 GPS software toolbox for GPS receiver development
💻 M
字号:
%                                mecefeci.m
%  Scope:   This MATLAB macro constructs the transformation matrix from ECEF 
%           frame to ECI (Earth Centered Inertial) frame; WGS-84 earth's 
%           rotation rate constant is used.
%  Usage:   moutput = mecefeci(dtime)
%  Description of parameters:
%           dtime    -  input, time elapsed since reference time, in seconds
%           moutput  -  output, two-dimensional real array containing the 
%                       transformation matrix from ECEF frame to ECI frame
%  Remarks: The ECEF to ECI transformation takes into account only Earth's 
%           rotation, i.e. no Earth's precession and mutation effects.
%  External Matlab macros used:  wgs84con
%  Last update:  04/05/00
%  Copyright (C) 1997-00 by LL Consulting. All Rights Reserved.

function   moutput = mecefeci(dtime)

wgs84con;
%  global constants used: rot_rate (WGS-84 earth rotation rate, in rad/sec)

swie = sin(rot_rate*dtime);
cwie = cos(rot_rate*dtime);

moutput = eye(3);  
moutput(1,1) =   cwie; 
moutput(1,2) = - swie;
moutput(2,1) =   swie;
moutput(2,2) =   cwie;

⌨️ 快捷键说明

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