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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -