4.0

4.0 | 2 ratings Rate this file 38 downloads (last 30 days) File Size: 37.51 KB File ID: #15615

Date Conversion Utility GUI

by Chad Webb

 

17 Jul 2007 (Updated 10 Sep 2007)

No BSD License  

A GUI utility to compute calendar date, GPS time, Julian day, and day of the week

Download Now | Watch this File

File Information
Description

This GUI will allow you to quickly and easily compute the GPS time and week number (modulo 1024) of a given (Gregorian) calendar date. It will also allow you to do the reverse operation of computing the calendar date, given the GPS time.

Both calculations will display the Julian day and the day of the week.

The screen shot shows the results of computing GPS time at the GPS birth date (midnight of January 5, 1980)

Generated on Windows platform, not sure if compatible other OS.

MATLAB release MATLAB 7 (R14)
Zip File Content  
Other Files GUI_DateConversions_Screenshot.jpg,
GUI_DateConversions.m,
GUI_DateConversions.fig
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
01 Aug 2007 Gregor Pfyffer

Easy to use

10 Aug 2008 kaspar g

The function quant(.,.) is missing...

Please login to add a comment or rating.
Updates
18 Jul 2007

Julian date calculation was off by 0.5 days, even though GPS time and day of week calculations were "adjusted" accordingly.

15 Aug 2007

When computing calendar date from GPS time, needed to add 0.5 days to the calculation to obtain the correct result

10 Sep 2007

When computing a calendar date from GPS time, fixed the issue of a 12 hour offset in the time of day calculation

Tag Activity for this File
Tag Applied By Date/Time
gps Chad Webb 22 Oct 2008 09:19:38
julian Chad Webb 22 Oct 2008 09:19:38
gregorian Chad Webb 22 Oct 2008 09:19:38
calendar Chad Webb 22 Oct 2008 09:19:38
time Chad Webb 22 Oct 2008 09:19:38
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com