First & third test cases omits '.m' extension while second consider '.m' extension.
Need to modify the test cases.
This question is more geared toward gaming the test suite as you can't solve it without seeing how the solution needs to be altered according to the tests given.
Can some one tell me what is wrong with the below code:
y = which(x)
1612 Solvers
288 Solvers
351 Solvers
Check if number exists in vector
4735 Solvers
539 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!