Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = {'I','love','MATLAB'};
y_correct = strings(size(x));
[y_correct{:}] = x{:};
assert(isequal(cell2str(x),y_correct))
y =
1×3 string array
"I" "love" "MATLAB"
|
2 | Pass |
x = {'I', 'love', 'MATLAB'
'I', 'love', 'Cody'};
y_correct = strings(size(x));
[y_correct{:}] = x{:};
assert(isequal(cell2str(x),y_correct))
y =
2×3 string array
"I" "love" "MATLAB"
"I" "love" "Cody"
|
17214 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
746 Solvers
Height of a right-angled triangle
448 Solvers
Is this is a Tic Tac Toe X Win?
438 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!