Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
ref = ones(9,9)*2;
user = MatrixFunc();
assert(isequal(user,ref))
ans =
2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2
|
1163 Solvers
Back to basics 21 - Matrix replicating
1052 Solvers
Number of 1s in a binary string
2818 Solvers
320 Solvers
405 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!