亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? eph2xyzn.m

?? 這是國外關于衛(wèi)星導航方面一書的源代碼
?? M
字號:
function [xyzx,xyzy,xyzz,delta_ts,rela]=eph2xyzn(t,pr,rinexdat,wie)
%---------------------------------------------------------------------------------------
% GPSLab:   EPH2XYZN.M
%
%           WGS84 Coordinates of GPS Satellite Orbits from RINEX N-Files
%
% -----------------------------------------------------------------------------
% WHAT: Epochwise evaluation of XYZ(Sat) from Kepler-elements (Sat)
%
% HOW: [x,y,z,delta_ts,rela]=eph2xyzn(t,pr,[svprn,toc,a0,a1,a2,crs,dn,ma,cuc,ecc,cus, ...
%                            ... sqrta,toe,cic,omega0,cis,oinc,crc,aop,omegadot,idot, ...
%                            ... gweek,accu,health])
%
% INPUT: t,pr,[svprn,toc,a0,a1,a2,crs,dn,ma,cuc,ecc,cus,sqrta,toe,cic,omega0,cis, ...
%        ... oinc,crc,aop,omegadot,idot,gweek,accu,health]
%        
%        All angles have to be in "radians" (RINEX convention), NOT in "semi-circles"
%	      Time unit is "seconds" & linear unit is "meters" (RINEX convention)
%
%        t - time of epoch [seconds of the GPS week]
%
%        pr - pseudorange [meter] as given in RINEX observation file for epoch t
%        further input sequence in RINEX nav file compatible order (nav blocks after header),
%        but kill / replace the following values:
%                   year,month,day,h,m,s (2nd to 7th value of 1st row) 
%                      - replaced by toc in [sec of GPS week]
%                   IODE (1st value of 2nd row) - killed
%                   Codes,L2PFlag (2nd and 4th value of 6th row) - killed
%                   TGD,IODC (3rd and 4th value of 7th row) - killed
%                   MessageTransmissionTime (1st value of 8th row) & 3 spares - killed
%
%        wie - flag for decision between inertial system coordinates or ECEF coordinates:
%              wie==0 means inertial, wie==1 means ECEF
%
% OUTPUT: X(Sat), Y(Sat), Z(Sat), satellite clock correction for actual epoch in [sec],
%         relativistic correction for periodic effect due to orbit eccentricity [meter]
%
% Attention please: 1) Valid only for the assumption  toc = toe !!!  (simplification)
%                      toc = ref.time of clock   toe = ref.time of ephemeris
%                   2) Input/Output not vectorized
%                   3) No effective programming, for educational purposes only!!
%                      --> normally Kepler's equation and iteration should be
%                          extracted and put into own functions
%
% 1996-05-10, Zebhauser (besides literature the algorithm was partially adopted from or completed by 
%                        comparisons with code by Peter Dana from UniTex and DIPOP from Uni New Brunswick
% 1998-03-11, Zebhauser (Update to actual Eph format including toc,gweek,accu,health)
% 1999-02-19, Zebhauser (choosing possibility between inertial and ECEF added)
% 1999-09-13, Zebhauser (Check of assumption, that toc=toe)
% 1999-10-11, Zebhauser (Removing substraction of relativist. corr. related to TOC from a0,a1,a2)
%
% Literature: GPS SPS Signal Specification - 2nd edition (1995) S.38, ICD-GPS-200(IRN-200C-002) (1997) S.98-100,
%             Parkinson, Spilker, Axelrad, Enge (eds.) (1996/1+2), Leick (1995), W黚bena (1991), Seeber (1989), ...
%---------------------------------------------------------------------------------------

if nargin==3
   wie=1;
end

if wie~=1&wie~=0
   errordlg('so ned! Es gibt nur die Optionen 0 oder 1 f黵 die zweite Variable (wird =1 gesetzt).', ...
      'GPSLab: Fehler beim Aufruf von EPH2XYZN.M');
   wie=1;
end

svprn=rinexdat(1);
toc=rinexdat(2);        % noch einbauen! Aenderung bei Berechnung der Sat.uhrparameter
a0=rinexdat(3);
a1=rinexdat(4);
a2=rinexdat(5);
crs=rinexdat(6);
dn=rinexdat(7);
ma=rinexdat(8);
cuc=rinexdat(9);
ecc=rinexdat(10);
cus=rinexdat(11);
sqrta=rinexdat(12);
toe=rinexdat(13);
cic=rinexdat(14);
omega0=rinexdat(15);
cis=rinexdat(16);
oinc=rinexdat(17);
crc=rinexdat(18);
aop=rinexdat(19);
omegadot=rinexdat(20);
idot=rinexdat(21);
gweek=rinexdat(22);    % noch Abfrage in Verbindg. mit WEEK/HALFWEEK einbauen (Wochenuebergang)
accu=rinexdat(23);     % eher fuer Kontrollzwecke im Hauptprogramm (Warnung, wenn > 10 m)
health=rinexdat(24);   % eher fuer Kontrollzwecke im Hauptprogramm (Bei Abwahl von unhealthy Sats)
%---------------------------------------------------------------------------------------
if toc~=toe
   gpsjpg=imread('sat.jpg','JPEG');
   svstr=num2str(svprn);
   hmsgeph=msgbox(['Achtung - Kollision: Bedingung TOC=TOE nicht erf黮lt !!!' ...
' Referenzzeit f黵 Ephemeriden ist nicht identisch mit Referenzzeit f黵 Uhrparameter' ...
' bei dem Satelliten mit der PRN-Nummer ',svstr, ...
'. Satellitendaten per Hand aus der Ephemeridendatei l鰏chen oder andere Daten laden und neu starten.'], ...
'GPSLab Abbruch: Nicht abgefangener Sonderfall','custom',gpsjpg,summer(64));
clear gpsjpg;
return;
end

% 躡erpr黤ung der GPS-Woche in Ephemeriden und Header (s1head, s2head) auf Identit鋞 entf鋖lt.
% M黶ste in den aufrufenden Programmen geschehen.

%---------------------------------------------------------------------------------------
HALFWEEK=302400;			% half GPS week in sec
WEEK=604800;				% full -"-
GM=3.986004415E14;				% grav. const. (WGS84)
OMEGA_DOT_E=7.2921151467E-5;		% earth rot. rate (WGS84)
if wie==0
   OMEGA_DOT_E=0;
end
C=2.99792458E8;				% speed of light (WGS84)
% F=-2*GM^.5/C^2;                       % const. term of Kepler-part of the relativist. delay
F=-4.442807633E-10;
%---------------------------------------------------------------------------------------
n0=sqrt(GM/sqrta^6); 			% computed mean motion
n=n0+dn; 		                % corrected mean motion
rel=F*sqrta*ecc;                        % factor for relativist. correction, period. part cause of ecc.
%---------------------------------------------------------------------------------------

x=ma; 					% kepler's equation for eccentric anomaly ek ...
y=ma-(x-ecc*sin(x));                    % ... starting with  ek=ma (mean anomaly)
x1=x;
x=y;
for i=0:15				% determination of ek by iterating
x2=x1;
x1=x;
y1=y;
y=ma-(x-ecc*sin(x));
if(abs(y-y1)<1.0E-15)
break;
end
x=(x2*y-x*y1)/(y-y1);
end					% end of iterations
ek=x; 					% end of det. of ecc. anomaly
sinek=sin(ek);
cosek=cos(ek);
%---------------------------------------------------------------------------------------
u0=a0;     % substraction of relativist. corr. related to TOC from a0,a1,a2: cancelled !!!!!
u1=a1;     % this substraction was proposed by van Dierendonck (1978), but is not valid
u2=a2;     %  really. Could be that it was valid in the beginning of GPS era. Actual data
%             show that a0 is free of the relativistic effect due to eccentricity, and the
%             ICD200c notifies that (a little bit loosely, but does it ! )  Zeb, 1999-10-11
%---------------------------------------------------------------------------------------
% til here only variables related to toe,
% from now on computation of transmission time since toe
%---------------------------------------------------------------------------------------
t0s=t-pr/C;                             % time of transmission
tk=t0s-toe;                             % time of transmission since toe (time of ephemeris)
if (tk>HALFWEEK)
tk=tk-WEEK;
end
if(tk<-HALFWEEK)
tk=tk+WEEK;
end

mk=ma+n*tk; 				% mean anomaly

x=mk; 					% kepler's equation for eccentric anomaly ek
y=mk-(x-ecc*sin(x));
x1=x;
x=y;
for i=0:15				% determination of ek by iterating
x2=x1;
x1=x;
y1=y;
y=mk-(x-ecc*sin(x));
if(abs(y-y1)<1.0E-15)
break;
end
x=(x2*y-x*y1)/(y-y1);
end					% end of iterations
ek=x; 					% end of det. of ecc. anomaly
sinek=sin(ek);
cosek=cos(ek);

delta_ts=u0+u1*tk+u2*tk^2+rel*sinek;    % sat.clock corr.: offset,drift,ageing & relativist. corr.

tk=tk-delta_ts;                         % time of transmission since toe with clock and rel. corr.
if (tk>HALFWEEK)
tk=tk-WEEK;
end
if(tk<-HALFWEEK)
tk=tk+WEEK;
end

%---------------------------------------------------------------------------------------
% from now on using this transmission time since toe (corr.)
%---------------------------------------------------------------------------------------

mk=ma+n*tk; 				% mean anomaly
x=mk; 					% kepler's equation for eccentric anomaly ek
y=mk-(x-ecc*sin(x));
x1=x;
x=y;
for i=0:15				% determination of ek by iterating
x2=x1;
x1=x;
y1=y;
y=mk-(x-ecc*sin(x));
if(abs(y-y1)<1.0E-15)
break;
end
x=(x2*y-x*y1)/(y-y1);
end					% end of iterations
ek=x; 					% end of det. of ecc. anomaly

cosek=cos(ek); 				
sinek=sin(ek);
%---------------------------------------------------------------------------------------
cosvk=(cosek-ecc); 			% denominator for det. of true anomaly
sinvk=sqrt(1-ecc*ecc)*sinek; 		% numerator for det. of true anomaly
vk=atan2(sinvk,cosvk); 			% true anomaly
if (vk<0)
vk=vk+2*pi;
end
%---------------------------------------------------------------------------------------

pk=vk+aop; 				% argument of latitude

sin2pk=sin(2.0*pk);
cos2pk=cos(2.0*pk);
duk=cus*sin2pk+cuc*cos2pk;		% argument of latitude correction
drk=crc*cos2pk+crs*sin2pk; 		% radius correction
dik=cic*cos2pk+cis*sin2pk;		% correction to inclination

uk=pk+duk; 				% latitude
rk=sqrta*sqrta*(1-ecc*cosek)+drk;	% corrected radius
ik=oinc+dik+idot*tk;   			% corrected inclination
xkp=rk*cos(uk); 			% x in orbital plane
ykp=rk*sin(uk); 			% y in orbital plane
%---------------------------------------------------------------------------------------
ok=omega0+(omegadot-OMEGA_DOT_E)*tk-OMEGA_DOT_E*toe;  	% longitude of ascending node

ykpcosik=ykp*cos(ik);
sinok=sin(ok);
cosok=cos(ok);
%---------------------------------------------------------------------------------------
xyzx=xkp*cosok-ykpcosik*sinok;		% ecef sv coordinates x,y,z
xyzy=xkp*sinok+ykpcosik*cosok;
xyzz=ykp*sin(ik);
%---------------------------------------------------------------------------------------
% sv relativistic correction in meters, periodic effect because of the eccentricity
% of the elliptic orbit with max. range correction of 6.79 m
% (constant part/ secular drift corrected in sv clocks by adding -0.445 to the nominal frequency)
% integrated in a0,a1,a2 of clock parameters, related to toc

rela=C*F*sqrta*ecc*sinek;

%---------------------------------------------------------------------------------------
% ENDE
% 1996-05-10, Zebhauser
% 1998-03-11, Zebhauser (Update to actual Eph format including toc,gweek,accu,health)
% 1999-02-19, Zebhauser (choosing possibility between inertial and ECEF added)
%---------------------------------------------------------------------------------------

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合视频网| 石原莉奈一区二区三区在线观看| 色婷婷狠狠综合| 美女视频一区二区| 亚洲欧美另类久久久精品2019| 国产精品美女一区二区三区 | 99久久久久久| 免费一级片91| 亚洲一级不卡视频| 亚洲国产岛国毛片在线| 欧美日韩国产另类不卡| 91视频91自| 风间由美中文字幕在线看视频国产欧美| 亚洲国产一区视频| 亚洲欧美色综合| 欧美国产日韩精品免费观看| 91精品国产乱| 欧美日免费三级在线| 99久久精品免费| 成人听书哪个软件好| 精彩视频一区二区三区| 日韩av不卡一区二区| 亚洲已满18点击进入久久| 国产精品久久久久毛片软件| 欧美精品一区二区三区高清aⅴ| 在线91免费看| 欧美日韩大陆在线| 欧美在线观看禁18| 99精品在线观看视频| 国产99精品视频| 国产高清不卡一区| 国产sm精品调教视频网站| 久久精品二区亚洲w码| 男女男精品视频网| 日本大胆欧美人术艺术动态| 日韩精品一级中文字幕精品视频免费观看 | 欧美aaaaa成人免费观看视频| 夜夜嗨av一区二区三区网页| 国产精品传媒入口麻豆| 中文字幕精品三区| 国产精品乱码一区二区三区软件| 欧美成人一区二区三区片免费| 欧美一区二区视频在线观看2020 | 精品视频在线免费看| 欧美在线你懂的| 欧美日韩国产在线观看| 欧美日韩夫妻久久| 91麻豆精品国产91久久久使用方法| 欧美日本韩国一区二区三区视频| 欧美主播一区二区三区| 精品视频一区二区三区免费| 777午夜精品视频在线播放| 91麻豆精品国产| 日韩精品一区二区三区中文不卡| 精品国产麻豆免费人成网站| 久久久亚洲国产美女国产盗摄| 久久久精品天堂| 国产精品久久久久久久久果冻传媒| 中文字幕字幕中文在线中不卡视频| **欧美大码日韩| 日韩专区欧美专区| 国模一区二区三区白浆| 高清beeg欧美| 欧美综合在线视频| 91精品婷婷国产综合久久 | 亚洲精品你懂的| 午夜激情一区二区三区| 激情五月激情综合网| 成人精品免费看| 欧美亚洲自拍偷拍| 欧美成人a在线| 中文字幕一区二区三区在线播放| 一区二区三区四区视频精品免费 | 中文一区二区在线观看| 亚洲免费av网站| 日本美女一区二区三区视频| 国产麻豆91精品| 欧美综合色免费| 国产午夜精品理论片a级大结局 | 高清国产一区二区| 在线精品亚洲一区二区不卡| 日韩视频一区在线观看| 国产精品天天看| 日本午夜精品视频在线观看| 国产成人综合精品三级| 欧美午夜免费电影| 国产亚洲综合色| 亚洲国产一区二区视频| 国产.欧美.日韩| 欧美美女bb生活片| 中文字幕成人网| 日韩成人精品在线| 99久久久无码国产精品| 精品免费日韩av| 亚洲国产一区视频| aaa亚洲精品一二三区| 51精品久久久久久久蜜臀| 中文字幕av资源一区| 免费在线观看成人| 欧美午夜一区二区三区| 久久精品一二三| 日韩中文字幕不卡| 色老汉一区二区三区| 国产亚洲1区2区3区| 天天综合天天做天天综合| 91在线观看美女| 久久网站热最新地址| 日韩中文字幕1| 欧美性一区二区| 亚洲天堂a在线| 国产高清久久久久| 欧美一级在线视频| 亚洲一区二区三区视频在线| av电影天堂一区二区在线| 欧美精品一区二区三区在线播放| 午夜精品久久久久久久99水蜜桃 | 日韩精品一区二| 日韩和欧美一区二区| 欧美在线|欧美| 亚洲欧美日韩一区二区| 成人免费看片app下载| 久久久久久久电影| 久久66热偷产精品| 欧美xxxxxxxx| 蜜桃免费网站一区二区三区| 日本一区二区三区免费乱视频 | 不卡一区二区三区四区| 久久久国产精品午夜一区ai换脸| 免费日韩伦理电影| 777亚洲妇女| 首页国产丝袜综合| 7777精品伊人久久久大香线蕉经典版下载 | 狠狠网亚洲精品| 日韩亚洲欧美一区二区三区| 婷婷成人激情在线网| 在线观看91av| 免费在线视频一区| 精品久久久久久久久久久院品网 | 欧美一区二区三区四区在线观看| 亚洲成人精品一区| 欧美日韩第一区日日骚| 五月激情丁香一区二区三区| 欧美日韩精品是欧美日韩精品| 性久久久久久久久久久久| 欧美日韩视频在线观看一区二区三区| 亚洲最快最全在线视频| 欧美日韩中文精品| 琪琪久久久久日韩精品| 日韩精品一区二区三区三区免费 | 在线成人av网站| 免费视频一区二区| www久久精品| 国产成a人亚洲精| 成人免费在线视频观看| 在线欧美日韩国产| 青青青伊人色综合久久| 久久中文字幕电影| 99精品在线免费| 丝袜国产日韩另类美女| 久久综合给合久久狠狠狠97色69| 国产精品一区一区| 亚洲免费大片在线观看| 欧美高清视频在线高清观看mv色露露十八 | 中文字幕日韩av资源站| 欧美午夜精品久久久久久孕妇| 日韩成人一区二区| 欧美极品xxx| 欧洲av一区二区嗯嗯嗯啊| 日本系列欧美系列| 日本人妖一区二区| 国产日韩精品一区| 在线观看欧美日本| 老司机午夜精品99久久| 欧美激情综合网| 欧美色综合网站| 国产精品99久| 亚洲国产精品欧美一二99| 精品久久五月天| 91小视频免费观看| 蜜桃视频在线观看一区| 亚洲日本丝袜连裤袜办公室| 91精品国产综合久久久蜜臀图片| 国产suv一区二区三区88区| 亚洲成av人片在线观看无码| 久久蜜桃av一区二区天堂| 欧美在线一区二区| 国产高清久久久久| 婷婷国产v国产偷v亚洲高清| 国产欧美日韩在线视频| 欧美日本一区二区三区四区| 国产99久久久国产精品免费看| 天堂久久久久va久久久久| 国产精品久久久久国产精品日日| 欧美一区二区三区系列电影| 99re视频这里只有精品| 国产一区二区三区四区五区美女| 亚洲在线视频一区| 国产精品美女久久久久av爽李琼| 欧美一区二区不卡视频| 欧美亚洲综合网|