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))
|
Find the "ordinary" or Euclidean distance between A and Z
119 Solvers
Back to basics 17 - white space
209 Solvers
Getting the indices from a vector
1438 Solvers
243 Solvers
find the maximum element of the matrix
254 Solvers