I am working towards comparing multiple images. I have these image data as column vectors of a matrix called \"images.\" I want to assess the similarity of images by first c
there is an already implemented function pdist, if you have a matrix A, you can directly do
Sim= squareform(pdist(A))