Problem 344. Back to basics 2 - Function Path
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)
For certain functions, which(x) returns more than the path name.
Problem Recent Solvers178
Reverse the Words (not letters) of a String
Implement simple rotation cypher
Create a vector whose elements depend on the previous element
Change the sign of even index entries of the reversed vector
Simple equation: Annual salary
More from this Author39
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!