I have 2D matrix and I want to cluster it to three groups of data
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
KSSV
2017-4-22
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) ;
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!