登录
首页 » matlab » kmeansK

kmeansK

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

  • Appendix1E_data_generation
    data generation using matlab neural network
    2013-09-15 20:02:23下载
    积分:1
  • Play-music-under-loc1
    FDGSL HOERHIJBDFIORTHDFUOI
    2013-11-30 04:41:46下载
    积分:1
  • ESSAI4
    9 BUS SIMPOWERSYSTEMS MODEL
    2014-01-09 08:15:58下载
    积分:1
  • DAC
    Digital to Analog converter sample code
    2013-12-08 22:38:57下载
    积分:1
  • wind_pmsg
    wind + PMSG model in simulink
    2014-06-19 16:51:02下载
    积分:1
  • MATLAB_suanfa
    matlab算法大全,有多种实用的算法资料(matlab algorithm Daquan, a variety of practical algorithm for data)
    2012-06-13 11:19:05下载
    积分:1
  • OFDM-MIMO
    FUZY LOGIC CONTROLLER
    2012-03-21 15:42:53下载
    积分:1
  • SLAM_plus_plus_v1.13
    Slam written in c++
    2015-03-04 19:53:44下载
    积分:1
  • signal
    说明:  信号采样 欠采样 过采样 临界采样 信号频谱 采样频率(Signal sampling undersampling oversampling critical sampling signal spectrum sampling frequency)
    2020-12-01 15:19:27下载
    积分:1
  • serial_2bar
    Inverse dynamic analysis of 2 bar serial robot using new method De-NOC.
    2009-03-25 00:04:04下载
    积分:1
  • 696518资源总数
  • 105595会员总数
  • 1今日下载