MATLAB Answers


how to assign datapoint in each matrix to cluster in kmeans but not the entire row in matrix to cluster?

Asked by kshitiz
on 14 Nov 2013

if i am using 3*3 matrix my own k means code is dividing the matrix into 2 clusters(user input) and giving me an array of 3*1 matrix .But what i want is assigning each data point in matrix to a giving cluster and not the entire row into the cluster what should i do ??? the link is given below to code use any data set i prefer iris.



Log in to comment.

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today