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
Project Euler: Problem 2, Sum of even Fibonacci
Permute diagonal and antidiagonal
Detect a number and replace with two NaN's
Find the area of the four walls
Cross ("+") flag returns
Flag a convertible string
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