登录
首页 » Matlab » kmean聚类分析算法

kmean聚类分析算法

于 2022-04-21 发布 文件大小:4.62 kB
0 113
下载积分: 2 下载次数: 1

代码说明:

%附件为读取的数据文件 %-------------------------------------------------------------------------- %               读取examp09_04.xls中数据,进行K均值聚类 %-------------------------------------------------------------------------- %*************************读取数据,并进行标准化变换************************* [X, textdata] = xlsread("examp09_04.xls");  % 从Excel文件中读取数据 row = ~any(isnan(X), 2);  % 返回一个逻辑向量,非缺失观测对应元素1,缺失观测对应元素0 X = X(row, :);  % 剔除缺失数据,提取非缺失数据 countryname = textdata(3:end,1);  % 提取国家或地区名称,countryname为字符串元胞数组 countryname = countryname(row);  % 剔除缺失数据所对应的国家或地区名称 X = zscore(X);    % 数据标准化,即减去均值,然后除以标准差 %*************************选取初始凝聚点,进行聚类*************************** startdata = X([8, 27, 42],:);    % 选取第8、第27和第42个观测为初始凝聚点 idx = kmeans(X,3,"Start",startdata);&nbs

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

发表评论

0 个回复

  • SER_QPSK
    we can obtain the symbol error rate of space time block code using the modulation technique of Quadrature-Phase shift keying
    2010-01-19 13:40:28下载
    积分:1
  • kappa
    multispectral image classification
    2011-02-24 14:14:12下载
    积分:1
  • fade_diversity
    说明:  该函数用于多径瑞利信道仿真,其中y为输出信号(Multipath Rayleigh Channel)
    2010-04-12 20:24:02下载
    积分:1
  • PID
    说明:  螺旋桨PID控制 In response to constant pressure to design more efficient, faster, smaller, and better systems, engineers are constantly looking for ways to improve existing designs or replace them with better ones. Facing large fuel costs, the aerospace industry in particular has been researching alternative designs to increase fuel efficiency and performance. One such alternative is the development of reconfigurable aircraft wings. These wings would be able to adapt to the current environment increasing lift or reducing drag when appropriate. (PID control of the propeller In response to constant pressure to design more efficient, faster, smaller, and better systems, engineers are constantly looking for ways to improve existing designs or replace them with better ones. Facing large fuel costs, the aerospace industry in particular has been researching alternative designs to increase fuel efficiency and performance. One such alternative is the development of reconfigurable aircraft wings. These wings would be able to adapt to the current environment increasing lift or reducing drag when appropriate.)
    2008-10-28 23:10:10下载
    积分:1
  • matlab_image_bloodcell_test
    血红细胞边缘的精确检测的MATLAB实现,实现阈值分割,噪声干扰,腐蚀,边缘检测(The edge of the red blood cells to achieve accurate detection of MATLAB to achieve segmentation, noise, corrosion, edge detection)
    2010-05-20 15:38:35下载
    积分:1
  • Numerical-differentiation-based-on-wavelet-transf
    The following Matlab project contains the source code used for numerical differentiation based on wavelet transforms. Numerical differentiation is important in various applications.
    2014-11-30 10:29:34下载
    积分:1
  • 用黄金分割法和Fibonacci法求最值问题
    本压缩包包含用黄金分割法和Fibonacci法分别求一个最值问题的脚本文件、函数以及实验结果!求解问题为 Minx e^(-2x)+x^2 ;要求最终的区间长度L 
    2022-05-25 14:04:35下载
    积分:1
  • ple
    单目标多传感器,卡尔曼算法实现matlab源程序 (Single target multi-sensor, kalman algorithm matlab source )
    2014-09-20 22:50:50下载
    积分:1
  • LFM
    雷达接收信号匹配滤波的matlab仿真,设定相关参数,得到匹配滤波后输出波形。(Radar matched filtering the received signal matlab simulation, set the parameters, obtained after the matched filter output waveform.)
    2011-11-19 23:39:23下载
    积分:1
  • facelbpltp
    face recognition code using lbp ltp features
    2020-06-27 02:00:02下载
    积分:1
  • 696518资源总数
  • 105714会员总数
  • 27今日下载