%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.
Ian Howat (2023). 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
Platform CompatibilityWindows macOS Linux
Inspired: Sold Earth Tide Predictions
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!