Prev: help trying to modify property of passed object
Next: How to get elements in a specific order from matrix
From: Bonnie Zhang on 19 Apr 2010 23:43 I have a N*3 matrix M(a,b,c) of sensor measurements. N is the number of sensors, "a" is the measurement of the sensor, "b" and "c" are the location of the sensor, say, the coordinate in a plane. I need to clustering the sensors by their measuements. I know I can use kmeans algorithm. But in the matlab help, the input matrix X is different from the measurement matrix M I have. X is required to be n-by-p "data"--- I suppose "data" here representing only the measurement readings, so where I can put the sensor locations (b,c) in X? or I can use M directly with kmeans? |