gusucode.com > 十大算法matlab程序说明 > 十大算法matlab程序说明/遗传退火法/一个Matlab的模拟退火算法工具箱/examples/chemcluster/clusterplot.m

    function h = clusterplot(W)
% h = clusterplot(W)
% Method for chemcluster example supplied with SA Tools.
% See http://www.frostconcepts.com/software for information on SA Tools.
%
%   h = clusterplot(W) ;
%
%   W = N 3D points.
%   N = number of molecules
%
%   Produces a scatter plot of a cluster state.
%
scatter3(W(:,1),W(:,2),W(:,3),'filled') ;