登录
首页 » matlab » src

src

于 2013-10-30 发布 文件大小:13KB
0 74
下载积分: 1 下载次数: 23

代码说明:

  How to use the ordinary Voronoi partition generator. The m-files also have their own help documentation that you can view in Matlab. This code creates a bounding polygon that is a square. Then it randomly creates 10 points and then creates and draws the partition. bounds = [0, 10, 10, 0 0, 0, 10, 10] points = 10 * rand(2, 10) regions = voronoi(bounds, points) drawRegions(bounds, regions) ================================ This is a brief set of instructions on how to use the Multiplicatively- weighted Voronoi partition generator. Each of the m-files has a help section, so in Matlab you can call: help mwvoronoi help drawRegions Here is an example that creates a bounding polygon, a square with side length 10. Then it randomly creates six points with random weights. Finally, the code draws the resulting partition. bounds = [0, 10, 10, 0 0, 0, 10, 10] points = 10 * rand(3, 6) regions = mwvoronoi(bounds, points) drawRegions(bounds, regions) Enjoy!

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

发表评论

0 个回复

  • 05728856
    A Coordinated Control Method to Smooth Wind Power Fluctuations of a PMSG-Based WECS
    2014-12-28 20:10:20下载
    积分:1
  • ex6
    QPSK信号在AWGN信道下的仿真,画出了发射信号与接受信号的星座图以及BER和SER随SNR变化的曲线(QPSK signal is simulated in the AWGN channel)
    2015-12-08 17:06:15下载
    积分:1
  • sw_pretrigger
    This m-file implements a simple data acquisition gui with multiple channels and custom triggering It demonstrates how to: 1) Use nested functions to simplify data acquisition programs 2) Use a simple GUI (a couple of pushbuttons) to start and stop data acquisition. 3) Wait for an event/trigger (like a button press) and log pre-event or pre-trigger data from multiple synchronized channels. 4) Record pretrigger data based on custom criteria. In this m-file the triggering event is a button click. However, the event could be any custom criterion (e.g., the data amplitude is greater than a threshold *and* a toggle button is enabled). Requires: the Data Acquisition Toolbox (TM) and the Winsound adapter. It does not depend on any hardware-specific capabilities. (This m-file implements a simple data acquisition gui with multiple channels and custom triggering It demonstrates how to: 1) Use nested functions to simplify data acquisition programs 2) Use a simple GUI (a couple of pushbuttons) to start and stop data acquisition. 3) Wait for an event/trigger (like a button press) and log pre-event or pre-trigger data from multiple synchronized channels. 4) Record pretrigger data based on custom criteria. In this m-file the triggering event is a button click. However, the event could be any custom criterion (e.g., the data amplitude is greater than a threshold*and* a toggle button is enabled). Requires: the Data Acquisition Toolbox (TM) and the Winsound adapter. It does not depend on any hardware-specific capabilities. )
    2009-10-21 15:18:03下载
    积分:1
  • System-Identification
    1、经典粒子群算法 2、一次最小二乘法(LS) 3、递推最小二乘算法(RLS) 4、确定性系统的递推梯度校正参数估计(RGC) 5、递推极大似然参数估计算法(RML)(1、Classical particle swarm optimization algorithm matlab code 2、Various types of system identification algorithm)
    2013-08-30 21:13:06下载
    积分:1
  • optical-flow-method-for-3-D-images
    An implementation of Lucas-Kanade optical flow method for 3-D images(This is an implementation of Lucas-Kanade optical flow method for three dimensional images like NIFTI, DICOM etc. A demo with test dataset is given.)
    2013-10-03 22:28:50下载
    积分:1
  • DenoisingVaule
    时域信号去噪后去噪效果评价指标,包括信噪比、均方误差等(After the time-domain signal denoising denoising uation, including SNR, MSE, etc.)
    2015-05-10 16:31:40下载
    积分:1
  • matchbycorrelation
    generates putative matches between previously detected feature points in two images by looking for points that are maximally correlated with each other within windows surrounding each point.(generates putative matches between previ ously detected feature points in two images by l ooking for points that are maximally correlate d with each other within windows surrounding ea ch point.)
    2007-06-27 22:06:27下载
    积分:1
  • filter
    巴特沃斯无源滤波器设计 内涵高通带阻带通低通四种类型的设计,其中低通参见本人上传的低通滤波器设计(Butterworth high-pass passive filter design content, low-pass band-stop four types of band-pass design, in which low-pass see my upload low-pass filter design)
    2010-06-29 10:32:00下载
    积分:1
  • dot2
    二级倒立摆的非线性部分采用S函数实现,此为S函数实现的源代码(The nonlinear part of the double inverted pendulum using S functions to achieve, this is the S function, the source code)
    2010-07-18 19:50:18下载
    积分:1
  • FIRFilterdesign
    FIR filter design with unseperable window, seperable window, frequency sampling method
    2009-05-03 00:52:24下载
    积分:1
  • 696524资源总数
  • 103990会员总数
  • 18今日下载