Calculating Hamming Distance?

6 views (last 30 days)
Alex
Alex on 1 Mar 2012
Hello, how to calculate the hamming distance of an image using matlab?
Also is it possible to verify the calculated hamming distance??
Thanks much.

Answers (1)

Laurens Bakker
Laurens Bakker on 7 Mar 2012
Hi Alex,
If you have the Statistics toolbox, you can use the pdist function.
Cheers,
Laurens

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!