Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
RawVector=rand(10,1);
[SortedVector,SortingIndices]=sort(RawVector);
Ranks=SortingIndices2Ranks(SortingIndices);
assert(isequal(SortedVector(Ranks),RawVector));
|
3895 Solvers
89 Solvers
351 Solvers
Sum of diagonal of a square matrix
1327 Solvers
546 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!