This is a problem where there's probably a good built-in function, but I don't know it.
this will be hard to beat !
Find common elements in matrix rows
1271 Solvers
The Hitchhiker's Guide to MATLAB
2880 Solvers
190 Solvers
Matrix which contains the values of an other matrix A at the given locations.
214 Solvers
228 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!