主题:求助:如何统计matlab程序的计算时间?
我现在想比较一下两种算法的计算时间,在matlab里面用哪个命令来统计时间比较精确啊?
知道的统计时间的命令为
profile on -detail operator -history
profile on -detail builtin -history
cputime
这三个哪个准确啊?
哪位高手知道望不吝赐教!
知道的统计时间的命令为
profile on -detail operator -history
profile on -detail builtin -history
cputime
这三个哪个准确啊?
哪位高手知道望不吝赐教!