登录
首页 » Matlab » MATLAB写的KMEANS 聚类程序

MATLAB写的KMEANS 聚类程序

于 2022-07-07 发布 文件大小:5.03 kB
0 116
下载积分: 2 下载次数: 3

代码说明:

该代码先使用rand函数生成了150个1到5的点,使用了kmeans算法进行分类; Step1 任意选择k个初始中心 bn=round(n/k*rand);%第一个随机数在前1/K的范围内 nc=[x(bn,:);x(2*bn,:);x(3*bn,:);x(4*bn,:)];%初始聚类中心

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SupportVectorClassificationandGaussianKernelwithMu
    Support Vector Cla s sification and Gaus sian Kernel with Multiple Widths
    2010-01-09 11:28:15下载
    积分:1
  • features-extraction-in-matlab
    feature extraction in matlab simple intro
    2013-10-24 13:06:35下载
    积分:1
  • 完整的遗传算法编写的唯相位波束综合matlab源程序
    是路径规划的实用方法,做视觉测量的上位机代码,对于初学者具有参考意义,基于欧几里得距离的聚类分析,Pisarenko谐波分解算法,滤波求和方式实现宽带波束形成。
    2022-03-18 00:22:10下载
    积分:1
  • gc
    说明:  Code to use image segmentation via Graph cut
    2010-07-27 20:58:46下载
    积分:1
  • mas
    this is simulation de mas
    2011-05-01 20:50:02下载
    积分:1
  • Optimitzation
    Optimitzation of control process in Matlab
    2011-11-01 17:04:11下载
    积分:1
  • S_DBWebApplication1
    S_DBWEbapplication 实例 作为例子参考 讲解演示器作用(S_DBWEbapplication instance as an example to explain the reference to the role of presenter)
    2013-11-25 22:25:51下载
    积分:1
  • update1
    搭建永磁同步电机的直接转矩控制仿真模型 1,实测电流经过3/2变换得到alpha-beta轴上的电流; 2,估计模块中包含定子磁链和电磁转矩的估算,其中,定子磁链观测是采用基于转子位置和定子电流的磁链估计,电磁转矩直接在alpha-beta轴上计算; 3,转速调节模块和转矩调节模块直接采用PI调节器; 4,预期电压矢量估计模块,根据k时刻的磁链幅值与相位和k+1时刻的磁链幅值和相位计算出来的; 5,SVMPWM是空间电压矢量调制模块,实现空间任意角度任意大小的电压矢量,从而控制磁链轨迹近似为圆型; 6,逆变器模块和电机模块均采用系统自带的;(Build a permanent magnet synchronous motor direct torque control simulation model, the measured current after 3/2 transform the current alpha-beta axis estimated module included in the estimation of the stator flux and the electromagnetic torque, stator flux chain observation is based on the position of the rotor and the stator current flux estimates, the electromagnetic torque directly in the alpha-beta axis 3 speed controller module and torque adjustment module directly using the PI regulator expected voltage vector estimation module , calculated according to the time k flux amplitude the phase and k+1 time flux amplitude and phase 5, SVMPWM the space voltage vector modulation module voltage vector space at any angle of any size, thereby controlling the flux path approximate round inverter module and motor module system comes )
    2013-04-21 11:12:54下载
    积分:1
  • Ch 32. Matlab Codes
    POSITIONING IN LTE code matlab
    2017-07-23 17:40:22下载
    积分:1
  • 好用的光流法运动检测源测试源程序
    均值便宜跟踪的示例,旋转机械二维全息谱计算,采用热核构造权重,包含CV、CA、Single、当前、恒转弯速率、转弯模型,采用加权网络中节点强度和权重都是幂率分布的模型,IMC-PID是利用内模控制原理来对PID参数进行计算。
    2022-02-14 20:14:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载