登录
首页 » matlab » kmeansK

kmeansK

于 2011-12-22 发布 文件大小:6KB
0 71
下载积分: 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 个回复

  • -MIMO-system
    CSI对MIMO系统容量影响的仿真与分析(Simulation and Analysis for MIMO system capacity CSI effect)
    2013-12-09 16:40:40下载
    积分:1
  • Welch
    从经典功率谱估计周期图法原理入手,从理论上分析了其存在的局限性,借助Welch算法对其进行修正。依靠Matlab强大的数值分析和信号处理能力,进行实验仿真,比较不同的窗函数,不同的数据长度对Welch法谱估计质量的影响,并分析了造成这些影响的原因。(The paper mainly introduces the principles of Periodogram method of classical PSD estimation,analyzes the deficiency of Periodogram method in theory,and makes use of Welch to amend Perodogram method. By the use of simulation in Matlab, the impacts of different window function and different lenghth of data on estimation quality of Welch are discussed and the reasons of the impacts are analyzed.)
    2010-06-16 08:27:53下载
    积分:1
  • How_to_Gain_Emotiona_Rewards
    一篇讲解如何通过情绪奖励来改善人工智能的论文,很有启发性。(How to Gain Emotional Rewards during Human-Robot Interaction Using Music.)
    2010-10-19 14:07:16下载
    积分:1
  • Aero_spin
    spin of rotating body at mach more than 5
    2010-02-02 12:47:39下载
    积分:1
  • cppfrance_COMPRESSION-HUFFMAN___Page
    code describing huffman methode with matlab
    2011-01-29 09:45:41下载
    积分:1
  • project08-03
    Transform two case , the one case 1 is Fourier the 8X8 size and then use the mask to clear the high fitter . the second case 2 is cosine the 8X8 size and then use the mask to clear the high fitter .
    2015-02-01 16:56:06下载
    积分:1
  • pipeline
    SIMULINK® MODEL FOR SIMULATION OF A 14-BIT PIPELINE ADC(SIMULINK ? MODEL FOR SIMULATION OF A 14-BIT PIPELINE ADC)
    2008-12-17 16:50:19下载
    积分:1
  • fixed_lookback_call
    用于计算非新发行的欧式固定交割价的回看看涨期权(To calculate the not newly-issued European fixed strike lookback call option)
    2013-03-29 13:43:49下载
    积分:1
  • ccj
    说明:  几篇粗糙集的论文文献,感觉不错,跟大家分享(Papers several rough set literature, I feel good, to share with you)
    2011-02-24 10:18:57下载
    积分:1
  • POWER-ELECTRONIC-SIMULINK-CODES
    THESE ARE THE POWER ELECTRONIC SIMULINK BLOCKS
    2011-06-30 15:40:47下载
    积分:1
  • 696522资源总数
  • 104022会员总数
  • 48今日下载