Not a general solution. Passes only due to small number of cases in the Test Suite.
Determine whether a vector is monotonically increasing
12635 Solvers
Find all elements less than 0 or greater than 10 and replace them with NaN
13297 Solvers
How to find the position of an element in a vector without using the find function
2488 Solvers
661 Solvers
287 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!