- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
EASY2.M
资源名称:easy.zip [点击查看]
上传用户:sfyaiting
上传日期:2009-10-25
资源大小:320k
文件大小:1k
源码类别:
GPS编程
开发平台:
Matlab
- %EASY2 Convert the observation time into sow.
- % We read the corresponding RINEX navigation file
- % and reformat the data into the Matlab matrix Eph.
- % For given SV we find the corresponding column in Eph
- % and call the basic satpos function
- %Kai Borre 27-07-2002
- %Copyright (c) by Kai Borre
- %$Revision: 1.0 $ $Date: 2002/07/27 $
- % Compute sow for first epoch in observation file site247j.01o
- % 01 9 4 9 40 0.0000000 0 7G 1G 4G 7G13G20G24G25
- jd = julday(2001,9,4,9+40/60);
- [week,sow] = gps_time(jd);
- % Read RINEX ephemerides file and convert to
- % internal Matlab format
- rinexe('SITE247J.01N','eph.dat');
- Eph = get_eph('eph.dat');
- % We identify the observed satellites in line 29 of RINEX file site247j.01o
- % 01 9 4 9 40 0.0000000 0 7G 1G 4G 7G13G20G24G25
- svs = [1 4 7 13 20 24 25];
- for t = 1:length(svs)
- col_Eph(t) = find_eph(Eph,svs(t),sow);
- sat(1:3,t) = satpos(sow,Eph(:,col_Eph(t)));
- end
- sat % position of svs in ECI system
- %%%%%%%%%%%%%%%%%%%%% end easy2.m %%%%%%%%%%%%%%%