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

convert_to_doy (epoch)
function doy = convert_to_doy (epoch)
    doy = mydatedoy(epoch);
end

%!test
%! epoch = 1;
%! doy = mydatedoy(epoch);
%! doy2 = convert_to_doy(epoch);
%! myassert(doy2, doy)

Contact us