Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

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

Asked by kshitiz

kshitiz (view profile)

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.

[1]: https://www.dropbox.com/s/0f4tegkq0e9jar2/modifiedkmeans111.m

0 Comments

kshitiz

kshitiz (view profile)

Products

No products are associated with this question.

0 Answers

Contact us