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' }
|
Find the maximum number of decimal places in a set of numbers
739 Solvers
The Answer to Life, the Universe, and Everything
383 Solvers
359 Solvers
307 Solvers
1161 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!