I want to distinguish data vectors to find similar ones. For example:
A=[4,5,6,7,8]; B=[4,5,6,6,8]; C=[4,5,6,7,7]; D=[1,2,3,9,9]; E=[1,2,3,9,8];
In the previous example, I want to highlight that the vectors A, B, C are similar (not the same) to each other, and D, E are similar to each other. The result should be approximately the same: A, B, C are similar and D, E are similar, but group A, B, C is not similar to group D, E. Can Matlab do this? I thought using some sort of classification algorithm or Kmeans, ROC, etc., but I'm not sure which one will be the best.
Any suggestion? thanks in advance
math vector matlab classification
Martin solac
source share