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))
|
2 | Pass |
%%
mat=rand(3,24);
r=2;
c=22;
ind=65;
assert(isequal(index(mat,r,c),ind))
|
1091 Solvers
Sort a list of complex numbers based on far they are from the origin.
4327 Solvers
962 Solvers
495 Solvers
276 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!