登录
首页 » matlab » kmeansK

kmeansK

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

  • chap10_1s
    机器人的PID控制之确定性单臂机械手的PD+前馈控制(先进PID控制MATLAB仿真第二版)(PID control of robot manipulator arm of the uncertainty of the PD+ Feedforward control (PID control of advanced simulation of the second edition of MATLAB))
    2009-06-17 12:58:33下载
    积分:1
  • youhua
    最优化问题方法介绍,以及工具箱补充实验.m文件(Method of optimization problem introduction, as well as the toolbox to add the experiment. M file)
    2007-08-21 16:28:39下载
    积分:1
  • BPSK
    一个关于BPSK误码率仿真的程序,其中包括信号产生,加入高斯白噪声,和误码率计算!(One on BPSK BER simulation procedures, including the signal generated by adding Gaussian white noise, and bit error rate!)
    2009-12-14 19:25:39下载
    积分:1
  • matlab-1
    奥迪发的范德萨才过奖过奖偶的洒当场彩字秀无因噎废食符合撒(Edwin van der Sar made the winning Audi winning even before the words spilled on the spot color spread shows no unworthy found)
    2011-05-03 18:29:31下载
    积分:1
  • SAA-code
    模拟退火算法程序原码以及算法程序,是用MATLAB编辑好的m文件(Simulated annealing algorithm program source code and algorithm program is a good m file in MATLAB Editor)
    2012-08-06 21:24:57下载
    积分:1
  • two-sample-inertial-algorithm
    采用经典的双子样算法,实现完整的惯性导航计算。程序中还留有GPS组合导航计算的接口,供开发者进行使用。(Classic two sample algorithm to achieve complete inertial navigation calculations. The program also left interface GPS navigation calculations for developers to use.)
    2014-12-10 17:41:16下载
    积分:1
  • 5bus-simulink-model
    simulink中5节点电力系统的仿真模型及其参数设置(5 node power system in the simulink simulation model and its parameter Settings)
    2014-12-22 19:34:20下载
    积分:1
  • shortestpath
    最短路径算法,内含5个m文件首先在m脚本文件canshuo.m中输入节点个数和路径权重(The shortest path algorithm, containing 5 m file first in the m script file canshuo.m in the number of input nodes and path weights)
    2010-03-07 21:21:54下载
    积分:1
  • SVD-TLS
    基于SVD_TSL算法的ARMA模型的参数估计,欢迎下载(SVD_TSL algorithm based on parameter estimation of ARMA models, please download)
    2020-10-28 02:39:58下载
    积分:1
  • New-folder
    Instructions for Writting Clear, Concise, and Direct Sentences
    2015-02-27 09:35:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载