I'm hoping there is a built-in function I don't know about that solves this problem. Perhaps accumarray?
Find common elements in matrix rows
1266 Solvers
1168 Solvers
407 Solvers
Back to basics 22 - Rotate a matrix
767 Solvers
207 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!