frontal

by

 

15 Mar 2011 (Updated )

Do: C = frontal_mtimes(A, b); not: for k=1:size(A,3), C(:,:,k) = A(:,:,k) * b(:,:,k); end

cputime_res
function res = cputime_res
    % clock resolution:
    res = 0; while (res == 0), res = abs(cputime - cputime); end
end

%!test
%! res = cputime_res;

Contact us