登录
首页 » matlab » kmeansK

kmeansK

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

  • Truss2D_MATLAB
    2D truss analyzer and GUI truss design source code
    2010-11-28 05:52:32下载
    积分:1
  • threeda
    电力电子,三相全控逆变,仿真模型,matlab仿真文件(Power electronics, three-phase full-controlled inverter, the simulation model)
    2011-05-13 14:22:40下载
    积分:1
  • svcmoxingsheji
    无功功率补偿器的完整仿真模型,补偿效果通过了验证(The complete simulation model of the reactive power compensator )
    2021-04-04 18:59:04下载
    积分:1
  • Desktop
    detect the object and make a retangle (detect the object and make a Greimas)
    2007-07-01 11:01:09下载
    积分:1
  • GrangerTest
    用于Granger因果检验的Matlab代码(Matlab code for the Granger Causality Test)
    2014-01-11 19:28:29下载
    积分:1
  • Linear-and-Nonlinear-Rotordynamics
    讲解转子动力学相关知识,非常有助于学习转子动力学,对研究转子相关特性有较大帮助,还有自己编写的相关MATLAB程序(To explain the knowledge of rotor dynamics, is very helpful to learn rotor dynamics, to study the rotor-related characteristics of a greater help)
    2016-11-27 15:28:15下载
    积分:1
  • VSS_Ray
    说明:  用于故障诊断研究的vss程序代码,感兴趣的可以看看(The VSS program code for fault diagnosis research can be viewed as interesting)
    2020-06-18 02:20:02下载
    积分:1
  • B
    说明:  2013数学建模研究生B题建立多项式模型代码(2013 graduate of mathematical modeling to establish polynomial model code B title)
    2013-09-21 08:50:53下载
    积分:1
  • ofdm-program
    ofdm程序,供初学者使用,一些简单的源码 。Matlab(ofdm program for beginners to use, some simple source. Matlab)
    2014-01-18 21:25:58下载
    积分:1
  • untitled
    电压型单相全桥逆变器的simulink仿真模型(Simulink simulation model of voltage type single-phase full-bridge inverter)
    2017-12-13 15:14:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载