There are some problems with the test suite. Problems 3 and 5 have too many square brackets on the right, and Problem 4 uses a matrix that exceeds the preferred matrix dimensions.
I find the exact same problem with the test suite.
Please correct the test suite. I believe that I have submitted a correct solution
The test suite has been corrected.
Cody,please check the test file
Test 3 and 5 - invalid square brackets
Test 4 - array is too big, L = 1000; W = 119; would work the same way
Find the longest sequence of 1's in a binary sequence.
Return the largest number that is adjacent to a zero
Program an exclusive OR operation with logical operators
Matrix indexing with two vectors of indices
Flag a convertible string
Cross ("+") flag returns
Create a "+" flag
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