MATLAB Answers

0

I have 2D matrix and I want to cluster it to three groups of data

Asked by Abdullah on 22 Apr 2017
Latest activity Commented on by Abdullah on 22 Apr 2017
I have 2D matrix and I want to cluster it to three groups of data based on the range of the data, what clustering method could help me ?

  0 Comments

Sign in to comment.

1 Answer

Answer by KSSV
on 22 Apr 2017

A = rand(100) ;
set1 = A(A>0 & A<=0.4) ;
set2 = A(A>0.4 & A<=0.8) ;
set3 = A(A>0.8 & A<=1) ;

  1 Comment

Thanks KSSV for your reply, your method is setting a manual range, I want to use clustering method to cluster the matrix into three groups based on that matrix numbers.

Sign in to comment.