Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = {'apples' 'oranges' 'pears' 'salmon'};
y_correct = 'apples, oranges, pears and salmon.';
assert(isequal(make_list(x),y_correct))
y =
"apples, oranges, pears and salmon."
|
2 | Pass |
x = {'1' '23' '4' 'potatoes'};
y_correct = '1, 23, 4 and potatoes.';
assert(isequal(make_list(x),y_correct))
y =
"1, 23, 4 and potatoes."
|
How to find the position of an element in a vector without using the find function
2477 Solvers
434 Solvers
329 Solvers
Are all the three given point in the same line?
270 Solvers
Convert Two Character String into a Binary Vector
102 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!