Info
此问题已关闭。 请重新打开它进行编辑或回答。
how to compare the time of code from tow different mechines
1 次查看(过去 30 天)
显示 更早的评论
Dear,
I wrote a code in matlab and run it from my desktop core2 and I want to compare the time with a code has written in C on HP Compaq with frequency 2GHz and a RAM of 2 GB. which I have no idea what is them. can any one explain it to me please.
regards,
Nadia
0 个评论
回答(1 个)
Walter Roberson
2016-3-16
See the MATLAB function "timeit". If you are using an old enough MATLAB version you might need to get timeit from the File Exchange.
1 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!