Code covered by the BSD License  

Highlights from
mydate

mydate

by

 

16 Apr 2011 (Updated )

Augments MATLAB's date/time library for improved handling of epochs and formats commonly used in GPS

mydategps (epoch)
% (this is just an interface)
function varargout = mydategps (epoch)
    switch nargout
    case {0, 1}
        [week, sow] = mydategpsw (epoch);
        varargout = {sow};
    case 2
        [week, sow] = mydategpsw (epoch);
        varargout = {week, sow};
    case 3
        [week, dow, sod] = mydategpsw (epoch);
        varargout = {week, dow, sod};
    end
end

Contact us