This is a problem where there's probably a good built-in function, but I don't know it.
this will be hard to beat !
831 Solvers
Who knows the last digit of pi?
557 Solvers
251 Solvers
Vectorizing, too easy or too hard?
128 Solvers
Return elements unique to either input
550 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!