output tic/toc functions ?
조회 수: 4 (최근 30일)
이전 댓글 표시
채택된 답변
Adam
2015년 3월 11일
The documentation says it returns time in seconds.
I only ever use tic toc for an approximate idea of time though and usually relative some other implementation rather than as an absolute value.
timeit
is usually more accurate if you want to measure how long a function takes though.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!