Cody

Solution 934691

Submitted on 11 Aug 2016
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Fail
a='azy'; b='azy' y_correct = 1; assert(isequal(string(a,b),y_correct))

b = azy y = 1 1 1

Assertion failed.

2   Fail
a='azy'; b='lazy' y_correct = 0; assert(isequal(string(a,b),y_correct))

b = lazy

Error using string (line 2) Matrix dimensions must agree.