登录
首页 » matlab » kmeansK

kmeansK

于 2011-12-22 发布 文件大小:6KB
0 229
下载积分: 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_Code
    在matlab里面,构造三次样条插值函数s(x)来模拟一只飞鸟外形的上部,根据已知的测试数据。(In matlab inside, construct cubic spline interpolation function s (x) to simulate the shape of the upper part of a bird, according to the known test data.)
    2021-04-15 14:18:54下载
    积分:1
  • tiaopinjieju1
    由方波代替了SPWM,实现了SPWM电机调速(Replaced by a square-wave SPWM, motor speed to achieve the SPWM)
    2021-04-03 16:39:06下载
    积分:1
  • checkcycle6
    查找ldpc校验矩阵中的6环,并将其记录到txt文件中(Find ldpc check matrix of the six rings, and its records to a txt file)
    2010-01-02 22:12:10下载
    积分:1
  • matlabPrimer35
    Matlab入门基础,第二版,佛罗里达大学数学系Kermit Sigmon教授出的~(MATLAB Primer Second Edition Kermit Sigmon Department of Mathematics University of Florida)
    2009-07-02 10:13:36下载
    积分:1
  • face_detection
    一个基于smqrt的人脸检测的程序,可以在一副图像中检测出若干人脸(A face detection based on smqrt of the procedure can be detected in a number of the image face)
    2011-01-10 14:04:29下载
    积分:1
  • 程序2
    室内定位时差定位算法。包括 chan算法,fang算法。功能是实现室内定位。在3到7个接收基站的基础上,获得较高精度的定位(Indoor location TDOA location algorithm. Including Chan algorithm and Fang algorithm. Function is to achieve indoor positioning. On the basis of 3 to 7 receiving base stations, high precision positioning can be achieved.)
    2019-04-27 15:04:13下载
    积分:1
  • Wavelet_image_fusion
    对每一路图像进行小波变换,分别到其水平、垂直、四十五度角方向的高频分量以及其低频分量,得到每路图像的小波金字塔; 按取较大值的原则对两幅图像的不同层次、不同特征层的信息图分别进行融合; 根据融合的各图像分量的小波序列,进行小波逆变换,得到最后的融合图像。 (Road images of each wavelet transform, respectively, to its horizontal, vertical, 45 degree angle the direction of high-frequency components as well as its low-frequency components obtained for each road image wavelet pyramid according to the principles of taking a larger value of the two images different levels of information mapping feature level fusion respectively the basis of integration of various components of the wavelet image sequences, inverse wavelet transform, to be the final fusion image.)
    2009-11-18 21:35:34下载
    积分:1
  • ssss
    sir/mam,,pls prvide me some matlab codes
    2011-09-03 02:42:52下载
    积分:1
  • KPCA
    针对二分类的情况,非线性的情况也能用,希望大家多交流,谢谢大家!(In the presence of binary classification, nonlinear condition can also be used, hope you more communication, thank you!)
    2014-10-27 12:42:17下载
    积分:1
  • 倒立摆系统设计
    说明:  MATLAB GUI 倒立摆系统设计程序历程(Matlab GUI inverted pendulum system design process)
    2019-11-15 22:04:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载