There is an error in the second problem of the test suite (also in the example) with an extra "[" on the second line of the "correct" melody.
Amazing how hard it is to get your test suite right on the first try. Thanks, and it looks like you're in the lead!
The last 3 tests are incorrect.
Dimensions of matrices being concatenated are not consistent.
I admit they look wrong, but the actual text in the MATLAB code runs properly. I just re-scored some answers and they worked fine. It must be some kind of HTML display problem. I'll check into it.
Wrapping the Tower of Pisa
MATCH THE STRINGS (2 CHAR) very easy
Is it an Armstrong number?
Fibonacci-Sum of Squares
Narcissistic number ?
How long is the longest prime diagonal?
Count the Digits in the Box
Simulate one complete step in the Biham–Middleton–Levine traffic model
Twist 'n' Match
Is It a Snake?
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