octave - How to calculate Hamming distance in matlab for two vectors? -
i need calculate hamming distance between 2 vectors in octave. searching in internet, found hamming distance using function: pdist (), doesn't give me result, because pdist() missing function in octave.
w= pdist([208 15 217 252 128 35 50 252 209 120 97 140 235 220 32 251], [231 174 143 43 125 66 49 143 48 139 81 103 154 229 93 229],1)
i grateful if me please.
Comments
Post a Comment