i have simple mat-lab algorithm and i would like to know how to calculate the speed of the algorithm?

 채택된 답변

James Tursa
James Tursa 2017년 6월 13일
편집: James Tursa 2017년 6월 13일

0 개 추천

I would start with tic and toc. You could also use timeit.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2017년 6월 13일

0 개 추천

You cannot. You can at best measure the speed of the implementation given those particular parameters, given whatever else the computer is doing at the same time (monitoring the mouse, checking for operating system updates, retrying to send the email messages stuck in the queue...)

카테고리

도움말 센터File Exchange에서 Parallel Computing Toolbox에 대해 자세히 알아보기

질문:

2017년 6월 12일

댓글:

2017년 6월 15일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by