This returns true for a = 2 and b = 6, but it shouldn't
Any suggestions for improving the test suite would be appreciated!
Adding test cases a=105 b=30 and a=111 b=3 should weed out a couple of less-than-general solutions.
Add decimal and irrational numbers, but only check if the n-first digits are a permutation of each other.
Convert a numerical matrix into a cell array of strings
469 Solvers
Convert a vector into a number
506 Solvers
Piecewise linear interpolation
303 Solvers
Change the sign of even index entries of the reversed vector
302 Solvers
294 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!