登录
首页 » Matlab » Kmeans 算法

Kmeans 算法

于 2022-10-01 发布 文件大小:130.53 kB
0 195
下载积分: 2 下载次数: 1

代码说明:

实施细节: K-手段是一个最古老和最常用的 usedclustering 算法。执行我所奉行的 K-均值航宇如下:) 首先我们选择 [RGB] 的图像。我们 givethis 图像作为输入到我们的节目和 k 值,是集群和错误阈值 value.b 的总人数) 然后我们随机选择 k 点作为集群的质心。我们转换为 RGB 图像单一颜色矩阵,在我们的 caseRED.c) 我们扫描每个像素 / 数据点的一个里程碑,为每个群集及其最接近的点距离从 correspondingcentroid.d) 重新计算由分配点的 averagingthe 位置的质心位置。我们用词作为大小 (op,1) 在 loopin 我们的代码。这意味着: 假设我们有一个矩阵大小为 10 * 10,那么 (op,1) 的大小将等于 100 [线阵] 笑) 我们需要重复步骤 c 和 d,直到 programterminates。为此,我们有一个值,在我们的 program.err_sum err_sum 求和的模式为每个群集当前和以往的质心之间的差异被称为。现在,一旦我们有了此值,我们将会比较此值与用户定义的 err_threshold 值。如果 err_sum 小于或等于 err_threshold 的值,程序收敛。我们现在已有输出,但它是以线性阵列的形式。因此,若要将它转换为多维数组,我们可以使用重塑命令/功能。因此,我们得到我们计算的图像。我们也理解 inputdata/图像通过其直方图,将显示在结果部分。

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

发表评论

0 个回复

  • BEAM
    the other program for deflection of beam
    2009-05-01 23:03:49下载
    积分:1
  • matlab-ppt
    matlab 课件,包含各个章节的课件以及源代码,每个章节有对应文件(matlab tutorial and courseware)
    2013-09-14 14:54:41下载
    积分:1
  • signal-spectrum-estimation-
    特征空间方法是现代谱估计的重要方法之一。针对噪声中的复正弦信号的模型,通过特征矢量的方法进行信号空间的分解。通过将信号空间分解为谐波信号空间和噪声信号空间这两个相互正交的空间的方法进行谱估计。Pisarenko,Music,ESPRIT算法都是这一类方法的重要算法。我们通过对不同算法进行比较分析不同算法在各种状况下的表现性能。并针对ESPRIT算法的各种改性和提升进行对比和测试。(Feature space is one of the modern spectral estimation method. Complex sinusoidal signal for the noise model, by the method of the feature vector for the decomposition of the signal space. By decomposition of the signal space to the space harmonic signal and the noise signal space, the method of the two mutually orthogonal spatial spectrum estimation. Pisarenko, MUSIC, ESPRIT algorithm is an important algorithm of this type of method. Different algorithms, our comparative analysis of the performance of different algorithms performance under a variety of conditions. And for a variety of modification and upgrading of the ESPRIT algorithm to compare and test.)
    2013-04-18 10:39:45下载
    积分:1
  • q3c.mdl
    A muitistage tap filter in simulink. Phase dirtoin and phase sitortion shown in teh simulation results(A muitistage tap filter. Phase dirtoin and phase sitortion shown in teh simulation results)
    2014-02-19 17:53:28下载
    积分:1
  • TransSVM
    说明:  将.txt格式的数据转换成svm所需要的格式(Will. Txt format data into the format required for svm)
    2010-04-10 18:27:12下载
    积分:1
  • avi_dct_embed09
    说明:  基于偏斜度的视频水印源程序, 一个高信息量的水印程序,对大信息量水印有很好的参考价值(Skewness-based video watermarking source, a high amount of information watermark procedures, the large amount of information watermark have a good reference value)
    2008-11-25 09:21:34下载
    积分:1
  • myspecgram
    To see an spectrogram of a signal non perodical
    2009-05-08 18:55:38下载
    积分:1
  • C-Programming-for-Arduino
    C programming for arduino
    2015-04-15 14:39:34下载
    积分:1
  • 重力正演模型
    说明:  学习和掌握简单条件下规则形体重力异常的正演计算方法和形态特征,加深对课堂理论内容的理解。 根据指定形状地质体,选择不同产状和密度参数,计算出重力异常及其导数的正确结果。绘制相应的剖面异常图,观察曲线形态。(Learn and master the forward calculation method and morphological characteristics of gravity anomaly of regular body under simple conditions, and deepen the understanding of classroom theoretical content. According to the specified shape geological body, different occurrence and density parameters are selected to calculate the correct results of gravity anomaly and its derivative. Draw the corresponding profile anomaly map and observe the curve shape.)
    2020-11-25 21:11:56下载
    积分:1
  • 完美的基于边缘指导的图像插值算法matlab编程
    使用混沌与分形分析的例程,计算互信息非常有用的一组程序,使用高阶累积量对MPSK信号进行调制识别,进行波形数据分析,可以提取一幅图中想要的目标,欢迎大家下载学习。
    2023-03-20 08:55:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载