If your purpose is to compare the efficiency, I recommend you to use tic/toc or timeit instead of clock/etime. The clock function measures the operating system time which is less reliable as compared to tic/toc measurements.
Roll the Dice!
Number of Circles in a Number
Back to basics 5 - Clipboard
How to add?
Next Lower Power of B
LMI Twins : Fuzzy Image matching
Criss_Cross_010 : Unique elements, Square array, Words in one array
Chezz_015 : Simplified chess
BattleShip - Petty Officer (Level 2)
Rubik's Mini Cube: Solve Randomized Cube in 11 Moves or Less; Score is by Time (msec)
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office