hamming distance in one matrix
古いコメントを表示
greetings every body i want to calculate the hamming distance between the elements of row of random binary matrix that i have produces with function dec2bin. matrix as : 10100100010001001 ; 01110010100110010; 10000100001000111; 11100011111000011; how to calculate the HD between these lines.
採用された回答
その他の回答 (2 件)
sravankumar v
2017 年 11 月 16 日
0 投票
if A1 is a binary image and divided in to 16x16 blocks using for loops then in the loop i want to calculate the hamming weight of A1(r+u+1:r+u+N,c+v+1:c+v+N) where r=1:N,c=1:N,u=0:N,v=0:N.please answer me as soon as possible
VELAMMAL SORIMUTHU PILLAI
2020 年 3 月 4 日
編集済み: VELAMMAL SORIMUTHU PILLAI
2020 年 3 月 4 日
0 投票
I have two random matrices of size 1*100. How can I calculate Hamming distance ?!!
If I am using pdist or pdist2 command it gives value as 1.
カテゴリ
ヘルプ センター および File Exchange で Image Category Classification についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!