%% %k均值聚类 clear all; close all; %% n=2; m=200; v0=randn(m/2,2)-1; v1=randn(m/2,2)+1; figure; subplot(221); hold on; plot(v0(:,1),v0(:,2),'r.'); plot(v1(:,1),v1(:,2),'b.'); %axis([-5 5 -5 5]); title('已分类数据'); hold off; data=[v0...