I'm hoping there is a built-in function I don't know about that solves this problem. Perhaps accumarray?
487 Solvers
2241 Solvers
1264 Solvers
580 Solvers
Calculate the Hamming distance between two strings
178 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!