This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1:10];
y_correct =[1:10;1:10];
rows=2;
assert(isequal(consIdenticalRowMatrix(x,rows),y_correct))
ans =
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
|
Number of 1s in the Binary Representation of a Number
356 Solvers
Back to basics 4 - Search Path
321 Solvers
965 Solvers
271 Solvers
2617 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!