登录
首页 » matlab » kmeansK

kmeansK

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

  • PVARRAY
    PV array with inverter PWM
    2011-01-15 01:24:20下载
    积分:1
  • fdtd1D_piyush
    fdtd matlab 1d simulation
    2011-05-14 00:03:35下载
    积分:1
  • MATLABfacemomentsp
    Face Recognition Based on Statistical Moments
    2012-05-25 17:37:43下载
    积分:1
  • SMME
    5 exercices on Mechanics of solid materials for matlab: developments on graphs of shear and moment
    2015-04-12 20:16:54下载
    积分:1
  • l1_ls_matlab
    A Matlab Solver for Large-Scale ℓ 1-Regularized Least Squares Problems
    2014-03-11 09:38:05下载
    积分:1
  • CRC
    CRC的MATLAB实现程序以及设计论文(MATLAB implementation of the CRC program as well as design thesis)
    2009-03-31 18:55:46下载
    积分:1
  • SALSA_v1.0
    说明:  优秀的图优化算法,非常经典的matlab实现(Excellent map algorithm, very classic matlab implementation)
    2011-03-23 22:18:49下载
    积分:1
  • Real-Coded-Genetic-Algorithm-for-Robust
    Power system stabilizers (PSS) are now routinely used in the industry to damp out power system oscillations. In this paper, real-coded genetic algorithm (RCGA) optimization technique is applied to design robust power system stabilizer for both singlemachine infinite-bus (SMIB) and multi-machine power system. The design problem of the proposed controller is formulated as an optimization problem and RCGA is employed to search for optimal controller parameters. By minimizing the time-domain based objective function, in which the deviation in the oscillatory rotor speed of the generator is involved stability performance of the system is improved. The non-linear simulation results are presented under wide range of operating conditions disturbances at different locations as well as for various fault clearing sequences to show the effectiveness and robustness of the proposed controller and their ability to provide efficient damping of low frequency oscillations.
    2013-10-14 19:58:33下载
    积分:1
  • Matlabbased
    基于matlab的车牌定位和分割,能够良好的分割和定位汽车车牌(Matlab-based license plate location and segmentation, to a good vehicle license plate segmentation and positioning)
    2009-05-15 20:12:07下载
    积分:1
  • 05208045
    MATLAB particle swarm algorithm, realize the MIMO equalization.
    2012-03-27 21:53:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载