Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 'I am a Cody pro';
y_correct = {'I','am','a','Cody','pro'};
assert(isequal(your_fcn_name(x),y_correct))
y =
1×5 cell array
'I' 'am' 'a' 'Cody' 'pro'
|
2 | Pass |
x = 'Break this up';
y_correct = {'Break','this','up'};
assert(isequal(your_fcn_name(x),y_correct))
y =
1×3 cell array
'Break' 'this' 'up'
|
3 | Pass |
x = 'Lots of spaces';
y_correct = {'Lots','of','spaces'};
assert(isequal(your_fcn_name(x),y_correct))
y =
1×3 cell array
'Lots' 'of' 'spaces'
|
Arrange vector in ascending order
624 Solvers
Set the array elements whose value is 13 to 0
935 Solvers
Switch matrix to a column vector
260 Solvers
216 Solvers
452 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!