I have a matrix consisting of 10000 rows and 2 columns. I wanted to cluster my dataset into k number of clusters. I am aware of the K-mean available in MATLAB, but its clustering is based on first column.Any help will be a great help for me.
There is a great deal more even to MATLAB's pre-defined functions, although this may depend on what version/toolboxes you have available to you. Perhaps the following links may help:
My dataset included angle and distance. Angle was in degree and hence the value was not comparable with the distance (Angle was spanning 0-360 range while distance being in 0-4 range). I converted angle from degree to radian and Kmeans did the trick for me.