Cody

Solution 455368

Submitted on 16 Jun 2014
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, log in.

Test Suite

Test Status Code Input and Output
1   Pass
%% x = [1 2 3]; y_correct = '123'; assert(isequal(your_fcn_name(x),y_correct))
ans = 123
2   Fail
%% x = [8 9 2 6]; y_correct = '8926'; y = your_fcn_name(x); assert(isequal(y_correct,y))
Error: Assertion failed.
3   Fail
%% x = [1 4 2]; y_correct = '142'; y = your_fcn_name(x); assert(isequal(y_correct,y))
Error: Assertion failed.
4   Fail
%% x = [3 5 2 6 3]; y_correct = '35263'; y = your_fcn_name(x); assert(isequal(y_correct,y))
Error: Assertion failed.
5   Fail
%% x = [7 7 5 1]; y_correct = '7751'; y = your_fcn_name(x); assert(isequal(y_correct,y))
Error: Assertion failed.
6   Fail
%% x = [9 2]; y_correct = '92'; y = your_fcn_name(x); assert(isequal(y_correct,y))
Error: Assertion failed.
7   Fail
%% x = [5 9 1 4 1]; y_correct = '59141'; y = your_fcn_name(x); assert(isequal(y_correct,y))
Error: Assertion failed.