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
|
9819 Solvers
201 Solvers
4326 Solvers
260 Solvers
Back to Basics - Find no. of elements in a matrix?
216 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!