image thumbnail

UTC to GPS time coverter

version 1.0.0.0 (1.74 KB) by Ian Howat
Convert UTC(GMT) time tags to GPS time accounting for leap seconds

5.8K Downloads

Updated 25 Aug 2008

View License

%UTC2GPS Convert UTC(GMT) time tags to GPS time accounting for leap seconds
% UTC2GPS(date) corrects an array of UTC dates(in any matlab format) for
% leap seconds and returns an array of GPS datenums where:
% GPS = UTC + steptime
% Currently step times are through Jan 1 2009, but need to be added below
% as they are instuted. All input dates must be later than the start of
% GPS time on Jan 6 1980 00:00:00
%
% See also GPS2UTC.

Cite As

Ian Howat (2021). UTC to GPS time coverter (https://www.mathworks.com/matlabcentral/fileexchange/21193-utc-to-gps-time-coverter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Sold Earth Tide Predictions

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!