Cody

# Problem 1899. Convert a Cell Array into an Array

Solution 2102029

Submitted on 22 Jan 2020 at 12:13
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Fail
x={'01', '56'; '234', '789'}; y_correct = '0123456789'; assert(isequal(your_fcn_name(x),y_correct));

Unrecognized function or variable 'y'. Error in your_fcn_name (line 2) y=strjoin(y,''); Error in Test1 (line 3) assert(isequal(your_fcn_name(x),y_correct));

2   Fail
x={'' 'a' '1'; 'AA' 'BB' 'CC'; 'dog' 'cat' 'car'}; y_correct='AAdogaBBcat1CCcar'; assert(isequal(your_fcn_name(x),y_correct));

Unrecognized function or variable 'y'. Error in your_fcn_name (line 2) y=strjoin(y,''); Error in Test2 (line 3) assert(isequal(your_fcn_name(x),y_correct));

3   Fail
x={'We' 'do' ;'ll ' 'ne.'}; y_correct='Well done.'; assert(isequal(your_fcn_name(x),y_correct));

Unrecognized function or variable 'y'. Error in your_fcn_name (line 2) y=strjoin(y,''); Error in Test3 (line 3) assert(isequal(your_fcn_name(x),y_correct));