Given a reference set R of elements (each unique but identical in type), and a list V of elements drawn from the set R, possibly with duplicates, return K such that R(K) == V. The elements of R may be numeric or string.
For example, refIndex(9:-1:5,[7 5 6 5]) should return [3 5 4 5].
Can this be done efficiently using regexp?
so simple and clear
263 Solvers
Find the largest value in the 3D matrix
899 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
1565 Solvers
154 Solvers
262 Solvers