登录
首页 » matlab » kmeansK

kmeansK

于 2011-12-22 发布 文件大小:6KB
0 190
下载积分: 1 下载次数: 5

代码说明:

  KMEANSK Performs K-means clustering given a list of feature vectors and k The argument k indicates the number of clusters you want the data to be divided into. data_vecs (N*R) is the set of R dimensional feature vectors for N data points. Each row in data_vecs gives the R dimensional vector for a single data point. Each column in data_vecs refers to values for a particular feature vector for all the N data points. The output data_idxs is a N*1 vector of integers telling which cluster number a particular data point belongs to. It also outputs centroids which is a k*R matrix, where each rows gives the vector for the cluster center. If we want to segment a color image i into 5 clusters using spacial and color information, we can use this function as follows:

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

发表评论

0 个回复

  • 170
    Matlab下用dspbuilder实现dds模块产生正弦波的源码
    2010-08-17 19:55:20下载
    积分:1
  • jizu
    本文件是关于机组分配在程序,适用于机组组合。(this file is about the power system generator distribution.)
    2012-05-21 19:56:09下载
    积分:1
  • Midpointcircle
    在矩阵或者二维图像中画一个圆,没有丢失的像素点 (Draw a circle in a matrix/image)
    2010-07-08 00:03:33下载
    积分:1
  • diffpianweifen
    关于不同的差分格式求解对流偏微分方程的比较的程序(difference on the different format for the convection of partial differential equations procedures)
    2007-05-09 15:56:20下载
    积分:1
  • shicou
    一个毕业设计里面,关于PID控制参数整定的问题,用试凑法解决了Matlab编程问题(Deliver tuning of PID Parameters Based on test code)
    2013-05-22 01:45:49下载
    积分:1
  • xiaobobao-fenjie-yu-zhonggou-
    一维小波包在matlab分解六层分解,与重构,可得高低频。与原高低频对比。( One dimensional wavelet packet decomposition in the MATLAB decomposition of the six layer, and the reconstruction can be HISTEP low frequency. Contrast with the original high and low frequency. )
    2016-06-24 22:49:41下载
    积分:1
  • gm11天然气
    说明:  gm11的matlab程序,天然气消耗量的例子进行建立gm11模型(Matlab program of gm11,Establishment of gm11 model with examples of natural gas consumption)
    2019-02-27 15:53:23下载
    积分:1
  • 55565542
    paper about Performance comparison of control schemes for variable-speed wind turbines
    2010-07-07 13:57:53下载
    积分:1
  • DigitalScope
    《生物医学数字信号处理》,生物医学中ECG信号的处理,强调实时处理算法。(“Biomedical Digital Signal Processing”,Biomedical ECG signal processing, emphasizing the real-time processing algorithms.)
    2015-03-12 15:03:54下载
    积分:1
  • threeleverdqPIsvmmokuai
    三电平三相三线制APF,电流环采用dq轴控制,调制方式为SVPWM方法(Three-level three-phase three-wire APF, dq axis current loop control, modulation method of SVPWM)
    2021-03-15 10:19:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载