Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = string({'I','love','MATLAB'});
y_correct = {'I','love','MATLAB'};
assert(isequal(str2cell(x),y_correct))
y =
1×3 cell array
{'I'} {'love'} {'MATLAB'}
|
2 | Pass |
x = string({'I','love','MATLAB';'I','love','Cody'});
y_correct = {'I','love','MATLAB'
'I','love','Cody'};
assert(isequal(str2cell(x),y_correct))
y =
2×3 cell array
{'I'} {'love'} {'MATLAB'}
{'I'} {'love'} {'Cody' }
|
17465 Solvers
3238 Solvers
3892 Solvers
555 Solvers
Combine the first and last names
131 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!