登录
首页 » matlab » kmeansK

kmeansK

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

  • MATLAB
    可对所求数据进行傅里叶变换,快速得到系统的频谱图。(Fourier transform can be used to obtain the spectrum of the system.)
    2021-03-07 14:49:30下载
    积分:1
  • INVERSE
    说明:  大地电磁一维反演程序,Matlab源程序代码(One-dimensional magnetotelluric inversion program)
    2011-02-21 13:10:14下载
    积分:1
  • ip04
    现代通信系统(matlab版本)第二版,第一章的第四个例题程序.(Modern communication systems (matlab version) second edition, the first chapter of the fourth Example program.)
    2009-11-09 11:59:08下载
    积分:1
  • Rayleigh_filtered
    % Program from 移动传播环境-理论基础、分析方法和建模技术 杨大成编著 机械工业出版社 2003 % Program from pp.280~281 附录B 成形滤波法 ( Program from mobile broadcasting environment- the theoretical basis for analysis and modeling techniques edited by Yang Dacheng Machinery Industry Publishing House 2003 Program from pp.280 ~ 281 Appendix B forming filtering method)
    2006-10-25 09:38:03下载
    积分:1
  • Rectifier_Sinusoidal_Current
    rectifer sinosoidal first ejm
    2013-02-08 14:32:37下载
    积分:1
  • Matlab
    matlab非常好的学习课件,适合短时间自学的人使用。内容全面并且易懂。(The matlab great learning courseware, suitable for short-term self-use. Comprehensive and easy to understand.)
    2012-02-11 16:09:53下载
    积分:1
  • gist
    gist算法 实现图像处理 基本功能都已实现 大家可以方便使用 (gist image processing algorithm we can achieve the basic functions are easy to use)
    2011-07-25 15:04:52下载
    积分:1
  • watterson
    说明:  比较好用的watterson模型仿真代码(A better use of Watterson model simulation code)
    2021-04-23 22:28:48下载
    积分:1
  • 123456wavelet_s_layer_2
    关于压缩感知的单层小波变换的,对低频部分保留传输,高频部分进行观测从而达到压缩的目的(On compressed sensing single wavelet transform, the low frequency part of the reserved transmission, the high-frequency part of the observations so as to achieve the purpose of compression)
    2014-01-15 21:20:30下载
    积分:1
  • newnethodotsu
    一个新设计的OTSU算法,使用方法如下:% load clown % subplot(221) % imshow(X/max(X(:))) % title( Original , FontWeight , bold ) % for n = 2:4 % Iseg = otsu(X,n) % subplot(2,2,n), colormap(gray) % imshow(Iseg) % title([ n = int2str(n)], FontWeight , bold ) % end(OTSU design a new algorithm, using the method as follows: load clown subplot (221) imshow (X/max (X (:))) title (Original, FontWeight, bold) for n = 2:4 Iseg = otsu (X, n) subplot (2,2, n), colormap (gray) imshow (Iseg) title ([n = int2str (n)], FontWeight, bold) end)
    2007-11-14 12:45:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载