Hamming distance between two binary matrices

조회 수: 1 (최근 30일)
Andrei
Andrei 2013년 10월 11일
답변: Laura Wright 2019년 10월 31일
How can I calculate the hamming distance between 2 20x20 binary matrices?
Thank you in advance.

채택된 답변

vaishali
vaishali 2013년 10월 11일
D = pdist2(X,Y,'hamming')

추가 답변 (1개)

Laura Wright
Laura Wright 2019년 10월 31일
Does X~=Y also give the same answer?

카테고리

Help CenterFile Exchange에서 Hamming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by