登录
首页 » matlab » kmeansK

kmeansK

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

  • STBC_2Tx
    tai lieu ve multiple input and multiple output
    2010-11-04 00:34:53下载
    积分:1
  • lfm_my
    LFM的脉冲压缩,即匹配滤波器的产生,并给出了压缩后的仿真波形。(LFM pulse compression, that is, the selection of matched filter, and gives the simulation waveforms compressed.)
    2008-08-26 11:10:12下载
    积分:1
  • AWGN_VD_SPC.m
    本代码主要仿真了维特比解码(5,4,2)的SPC码的仿真使用以及其性能(This code simulated Viterbi decoding (5,4,2) SPC code simulation use, as well as its performance)
    2012-05-08 22:55:14下载
    积分:1
  • ca_cfar1
    说明:  作为雷达信号处理系统的一部分,主要利用快速傅里叶变换(FFT)算法完成雷达回波中各距离单元内运动目标的积累检测,另外还包括恒虚警处理然后提出自适应门限杂波图恒虚警处理器及相干杂波图恒虚警处理器。(As a part of radar signal process system, utilizes FFT to achieve radar reflect wave range unit moving target accumulate detect, in addition including CFAR processThen the adaptive threshold clutter map CFAR processor and coherent clutter map CFAR processor are suggested)
    2020-03-14 16:21:44下载
    积分:1
  • monituihuosuanfa
    数学建模中关于模拟退火算法的matlab程序(Mathematical modeling on the simulated annealing algorithm matlab program)
    2008-05-24 14:18:01下载
    积分:1
  • ant_colony_image_edge_detection
    一种基于蚁群算法的图像边缘检测算法,有中文注释。(Image edge detection algorithm based on ant colony algorithm)
    2013-01-03 20:55:12下载
    积分:1
  • FIRlvboqisheji
    有关有限脉冲响应滤波器的设计方法的介绍。(For finite impulse response filter design methods introduced.)
    2011-05-23 09:58:11下载
    积分:1
  • QPSO
    基于matlab的量子粒子群算法源代码,用于函数优化,供参考(Matlab quantum particle swarm algorithm source code for function optimization, for reference)
    2012-05-27 15:17:38下载
    积分:1
  • pdes
    在matlab中偏微分的典型例子的代码,例如波形方程,热传导方程等()
    2008-04-04 06:09:51下载
    积分:1
  • QAM
    编写一个含QAM传输的发送和接收模块 1)分别采用复基带仿真和实带通仿真两种形式 a) 实带通仿真时, 载波频率为符号率的4倍 b)发端采用滚降系数0.5的根号升余弦滤波器 2)画出Eb/N0=15dB时的接收波形(收滤波前),取100个采样 3)画出发端输出的眼图和收端过匹配滤波后的眼图(画眼图时不加噪声) 统计误符号率和误比特率与Eb/N0的关系,画出曲线, 与理论计算的曲线相对比 (Prepare to send of one with QAM transmission and receiver module 1), respectively, the complex baseband simulation and the real band-pass simulation in two forms a) the real band-pass simulation, the carrier frequency used for the symbol rate of 4 times b) the originator roll-off factor of 0.5 root raised cosine filter, 2) draw Eb/N0 = 15dB when the received waveform (closing filter), take 100 samples) to draw the originator of the output eye diagram and income side of the eye diagram after the matched filter ( draw the eye diagram without noise) statistics symbol error rate and bit error rate and Eb/N0, draw a curve calculated with the theoretical curve compared)
    2012-05-29 16:51:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载