登录
首页 » matlab » kmeansK

kmeansK

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

  • xiebofenjie
    傅里叶分解,包含偶数次谐波,是一个matlab的M文件(Fourier decomposition, contain even-numbered harmonics.Is an M-file matlab)
    2013-11-21 14:52:49下载
    积分:1
  • 图论算法及其MATLAB实现(全书+源代码)
    说明:  这个是非常好的matlab图论教程,是书籍和代码都有,对入门复杂网络是非常好的,复杂网络就是以图论入门的(This is a very good Matlab Graph theory tutorial, books and code are available, for the introduction of complex networks is very good, complex networks is the introduction of graph theory)
    2020-08-31 23:12:11下载
    积分:1
  • nonlineshoot
    运用打靶法求解非线性常微分方程,简单实用(Shooting method used to solve ordinary differential equation, simple and practical)
    2010-12-20 08:52:07下载
    积分:1
  • additive-gaussian-error
    说明:  认知场景下加性高斯噪声对于误码的影响,已经干扰问题的转换源码(Cognitive scenarios for the additive error of Gaussian noise has been the conversion source interference problem)
    2011-03-23 22:53:19下载
    积分:1
  • DFA1
    去趋势波动分析的开发程序,共享给大家,谢谢。(Detrended fluctuation analysis of the development process, for everyone to share, thank you.)
    2013-11-24 20:32:12下载
    积分:1
  • HS-motion
    视频帧间运动估计编码,基于光流场方程,包含了计算光流场的基础函数和一个光流场计算的实例(Inter-frame motion estimation video coding, based on optical flow equation, including the calculation of optical flow based functions, and an optical flow field instance)
    2010-10-02 22:36:10下载
    积分:1
  • Higher-OrderPSpectralToolbox
    高级谱分析,作为非线性处理信号,图像直观,方便的特点(Higher order spectrum)
    2015-03-25 10:47:49下载
    积分:1
  • zhiliudianjiMATLAB
    直流电机MATLAB仿真程序,希望大家喜欢。。。(DC MATLAB simulation program, hope you like. . .)
    2010-06-23 20:59:54下载
    积分:1
  • com_par
    采用互补序列降低OFDM的PAR方法,降至3DB(lower with complementary sequences OFDM PAR method to Lateral)
    2006-11-29 22:31:17下载
    积分:1
  • papr
    关于OFDM系统中PAPR降低技术的综述,以及验证PTS的降低特性(overview of the deduction on PAPR, a simple procedure to test the performance of PTS)
    2011-10-31 12:11:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载