Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = string({'I','love','MATLAB'});
y_correct = {'I','love','MATLAB'};
assert(isequal(str2cell(x),y_correct))
|
2 | Fail |
x = string({'I','love','MATLAB';'I','love','Cody'});
y_correct = {'I','love','MATLAB'
'I','love','Cody'};
assert(isequal(str2cell(x),y_correct))
|
17222 Solvers
3117 Solvers
Number of 1s in a binary string
2826 Solvers
Create a vector whose elements depend on the previous element
391 Solvers
315 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!