Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
GPS_TIME.M
Package: easy.zip [view]
Upload User: sfyaiting
Upload Date: 2009-10-25
Package Size: 320k
Code Size: 1k
Category:
GPS develop
Development Platform:
Matlab
- function [week,sec_of_week] = gps_time(julday)
- % GPS_TIME Conversion of Julian Day number to GPS week and
- % Seconds of Week reckoned from Saturday midnight
- % Written by Kai Borre
- % May 20, 1996
- a = floor(julday+.5);
- b = a+1537;
- c = floor((b-122.1)/365.25);
- e = floor(365.25*c);
- f = floor((b-e)/30.6001);
- d = b-e-floor(30.6001*f)+rem(julday+.5,1);
- day_of_week = rem(floor(julday+.5),7);
- week = floor((julday-2444244.5)/7);
- % We add +1 as the GPS week starts at Saturday midnight
- sec_of_week = (rem(d,1)+day_of_week+1)*86400;
- %%%%%%% end gps_time.m %%%%%%%%%%%%%