减法聚类法如何用MATLAB进行仿真
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/14 06:51:05
减法聚类法如何用MATLAB进行仿真
这个仿真程序能用工具箱解决吗?由做这方面毕业设计的同学请多多帮忙啊!
这个仿真程序能用工具箱解决吗?由做这方面毕业设计的同学请多多帮忙啊!
有一个函数叫subclust,你可以这样调用function [centers,sigmas] = subclust(X,radii,xBounds,options)
其中OPTIONS(1):The squash factor,is used to multiply the RADII values to determine the neighborhood of a cluster center within which
the existence of other cluster centers are discouraged.% OPTIONS(2):The accept ratio,sets the potential,as a fraction of the
potential of the first cluster center,above which another data point will be accepted as a cluster center.
% OPTIONS(3):The reject ratio sets the potential,as a fraction of the potential of the first cluster center,below which a data point will be rejected as a cluster center.
% OPTIONS(4):Displays progress information unless it is set to zero.
Examples
X1 = 10*rand(50,1);
X2 = 5*rand(50,1);
X3 = 20*rand(50,1)-10;
X = [X1 X2 X3];
[C] = subclust(X,0.5)
其中OPTIONS(1):The squash factor,is used to multiply the RADII values to determine the neighborhood of a cluster center within which
the existence of other cluster centers are discouraged.% OPTIONS(2):The accept ratio,sets the potential,as a fraction of the
potential of the first cluster center,above which another data point will be accepted as a cluster center.
% OPTIONS(3):The reject ratio sets the potential,as a fraction of the potential of the first cluster center,below which a data point will be rejected as a cluster center.
% OPTIONS(4):Displays progress information unless it is set to zero.
Examples
X1 = 10*rand(50,1);
X2 = 5*rand(50,1);
X3 = 20*rand(50,1)-10;
X = [X1 X2 X3];
[C] = subclust(X,0.5)