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
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
Return the first and last character of a string
Length of the hypotenuse
Side of a rhombus
Solve a System of Linear Equations
Create a "+" flag
Flag a convertible string
Cross ("+") flag returns
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