登录
首页 » Matlab » matlab k-means聚类分析

matlab k-means聚类分析

于 2022-01-25 发布 文件大小:13.29 kB
0 64
下载积分: 2 下载次数: 2

代码说明:

K-means算法是很典型的基于距离的聚类算法,采用距离作为相似性的评价指标,即认为两个对象的距离越近,其相似度就越大,算法过程如下: 输入:k, data[n]; (1) 选择k个初始中心点,例如c[0]=data[0],…c[k-1]=data[k-1]; (2) 对于data[0]….data[n],分别与c[0]…c[k-1]比较,假定与c[i]差值最少,就标记为i; (3) 对于所有标记为i点,重新计算c[i]={ 所有标记为i的data[j]之和}/标记为i的个数; (4) 重复(2)(3),直到所有c[i]值的变化小于给定阈值。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • gaussseidel
    gauss siedel sistemas de ecuaciones
    2009-06-27 05:52:54下载
    积分:1
  • danpin_fenduan_FFT
    有相位跳变的单频信号,信号时域波形的刻画和FFT程序。注释完整,可读性高。(a single-frequency signal with phase jump and its FFT is described in this program and the explain is detailed, easy to read.)
    2011-01-09 09:01:05下载
    积分:1
  • 基于双隐含层BP神经网络的预测
    说明:  该文件主要包含了两个利用Matlab做的BP算法,主要用来实现预测,该文件中包含两个网络,一个是普通BP神经网络,一个为双隐含层BP神经网络。(This file mainly contains two BP algorithms made by MATLAB, which are mainly used to realize prediction. This file contains two networks, one is ordinary BP neural network, the other is double hidden layer BP neural network.)
    2020-02-20 20:35:06下载
    积分:1
  • OFDM仿真代码
    OFDM的matlab仿真程序,自己编写,有注释。可以帮你了解OFDM的原理,你也可以加以改进,成为自己的代码。包含调制解调,循环前缀,加噪测试,有BER曲线
    2022-06-12 12:49:18下载
    积分:1
  • for high precision wind energy conversion sysytems this fuzzy controller can be...
    for high precision wind energy conversion sysytems this fuzzy controller can be used
    2022-02-21 06:15:26下载
    积分:1
  • Ex_12_11_1
    《数字信号处理——理论、算法与实践》习题12.11源代码(Digital Signal Processing- theory, algorithms and practice exercises 12.11 source code)
    2013-02-03 12:26:15下载
    积分:1
  • Matlab1_170111
    matlab view and describe utility
    2012-01-11 22:53:16下载
    积分:1
  • overadd
    重叠保留法求两序列线性卷积,是针对循环卷积代替线性卷积算法中由于时间不足造成的算法太大的缺陷(Overlapping seeking linear convolution of two sequences is a place for the circular convolution linear convolution algorithm, the algorithm because of the time caused much less defects)
    2010-06-06 18:12:47下载
    积分:1
  • example-of-optimization
    说明:  最优控制仿真例子.给出最优控制书里经典算例代码(Optimal control simulation example. Gives the optimal control book classic example code)
    2011-03-11 21:22:10下载
    积分:1
  • MATLAB
    信道主要模拟信号的多径传输,在这个信道中一共有三个用户的数据进行传输,用户一经过了2径衰落,用户二经过了3径衰落,用户三经过了4径衰落。(The main channel simulation of multipath signal transmission, in this channel has a total of three users of the data transmission, the user after 2 path fading, the user of two after 3 path fading, the user of three after 4 path fading. )
    2021-01-04 14:38:55下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载