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

cputime_tol
function tol = cputime_tol
    % cputime_res applies to either t1 or t2 individually; 
    % tol applies to t2-t1;
    tol = 2*cputime_res + sqrt(eps);
end

%!test
%! tol = cputime_tol;

Contact us