⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cluster_plotclusters.m

📁 動態聚類k-means演算 將輸入在程式中的數據資料 給予適當的分群
💻 M
字号:
function cluster_plotclusters(fig, clusters,cl,clust,dotter);start=1;if cl>7    start=cl;endfor k=start:cl    %if clust(k,1)    plot (clust(k,1),clust(k,2),'+r')    %end    d=dotter(k,1);    if clust(d,1)        plot ([clust(k,1) clust(d,1)],[clust(k,2) clust(d,2)],'r')        plot(clust(d,1), clust(d,2),'+r');    end        d=dotter(k,2);    if clust(d,1)        plot ([clust(k,1) clust(d,1)],[clust(k,2) clust(d,2)],'r')        plot(clust(d,1), clust(d,2),'+r');            end            enddrawnow;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -