how to cluster using matlab

조회 수: 1 (최근 30일)
maryam
maryam 2015년 2월 18일
편집: Sad Grad Student 2015년 2월 18일
hi all. im completely new in clustering!would you please explain to me how i can cluster a 8191*300 matrix into 3 groups? thank you for your help

채택된 답변

Sad Grad Student
Sad Grad Student 2015년 2월 18일
편집: Sad Grad Student 2015년 2월 18일
Easiest to implement is kmeans clustering. Look it up!
Matrix = % your 8191x300 matrix
NumC = 3 % number of clusters
idx = kmeans(Matrix,NumC)
idx will give you a vector of size 8191 containing the indices of each cluster(1,2 or 3) the row belongs to.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cluster Analysis and Anomaly Detection에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by