Cody

Solution 1751969

Submitted on 15 Mar 2019 by Z
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   Pass
x = {'I','love','MATLAB'}; y_correct = strings(size(x)); [y_correct{:}] = x{:}; assert(isequal(cell2str(x),y_correct))

ans = 1×3 string array "I" "love" "MATLAB"

2   Pass
x = {'I', 'love', 'MATLAB' 'I', 'love', 'Cody'}; y_correct = strings(size(x)); [y_correct{:}] = x{:}; assert(isequal(cell2str(x),y_correct))

ans = 2×3 string array "I" "love" "MATLAB" "I" "love" "Cody"

Suggested Problems