I found the problem description a little confusing, but It's just a matrix multiplication. However, instead of doing the dot product, we must calculate the hamming distance between row and column.
Count from 0 to N^M in base N.
220 Solvers
502 Solvers
Make a random, non-repeating vector.
2809 Solvers
277 Solvers
520 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!