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))
|
Remove any row in which a NaN appears
6827 Solvers
First non-zero element in each column
593 Solvers
Create a two dimensional zero matrix
354 Solvers
548 Solvers
286 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!