Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
mat=rand(10,10);
r=3;
c=5;
ind=43;
assert(isequal(index(mat,r,c),ind))
ind =
43
|
2 | Pass |
mat=rand(3,24);
r=2;
c=22;
ind=65;
assert(isequal(index(mat,r,c),ind))
ind =
65
|
Swap the first and last columns
12414 Solvers
1726 Solvers
Create a cell array out of a struct
508 Solvers
Project Euler: Problem 7, Nth prime
522 Solvers
Back to basics 21 - Matrix replicating
1052 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!