If input must ber an integer n>=3, why in the test suite there are n=1 and n=2 cases?
test case for x=5 is wrong: swap 17 and 18.
Determine whether a vector is monotonically increasing
12199 Solvers
495 Solvers
Split a string into chunks of specified length
489 Solvers
Replace multiples of 5 with NaN
362 Solvers
522 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!