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.
Make the vector [1 2 3 4 5 6 7 8 9 10]
Longest Divisor Run
Return area of square
Create incrementing array
Back to basics 26 - Keywords
Back to basics 12 - Input Arguments
Back to basics 6 - Column Vector
Back to basics 8 - Matrix Diagonals
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office