Strange - the test suites are not independent. I thought they normally were.
Yes Andrew, they are not. I also had to struggle with the same, when only the first input data passed and rest failed.
I can't get a way to solve this problem. Some hint?
Can't solve this either. Not even a clue on how to do it.
Hint see documentation for presistent variables
PS : last test case is evil
Tricky problem;)
new things..
Find all elements less than 0 or greater than 10 and replace them with NaN
13145 Solvers
843 Solvers
549 Solvers
Find nearest prime number less than input number
274 Solvers
73 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!