登录
首页 » matlab » src

src

于 2013-10-30 发布 文件大小:13KB
0 194
下载积分: 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 个回复

  • ST_Its_Application
    非平稳信号时频分析中的S变换实现的例程及应用(Non-stationary signal analysis of time-frequency S transform realization and application of routine)
    2007-11-24 11:03:52下载
    积分:1
  • Active-Contour-Segmentation
    Region Based Active Contour Segmentation
    2014-12-18 17:42:50下载
    积分:1
  • lunwen
    基于MATLAB的谐波电流检测方法的建模与仿真(MATLAB-based harmonic current detection method of modeling and simulation)
    2010-05-29 07:53:27下载
    积分:1
  • textureSynth
    一个在MATLAB开发系统下的关于纹理合成的程序源代码(a development system in MATLAB on the texture synthesis of source code)
    2007-05-23 18:21:48下载
    积分:1
  • CCluster
    用matlab写的模式识别中C均值分类算法,数据被分成2类,经验证正确(Pattern recognition with matlab written in C-means classification algorithm, the data is divided into two categories, proven correct)
    2011-10-12 17:12:24下载
    积分:1
  • matlab
    人机交互小功能,画曲线,改变颜色,生成矩阵,随机与固定的,退出,改变线型(Human-Computer Interaction small features, drawing curves, changing the color, generating matrix, random and fixed, from the change of linear)
    2009-04-11 18:20:04下载
    积分:1
  • DigitalSignal
    Digital Signal and Image Processing using MATLAB
    2010-01-04 12:24:37下载
    积分:1
  • minimum-spanning-tree-matlab
    minimum spanning tree
    2011-11-26 10:20:06下载
    积分:1
  • SAHC
    it is for simple hill climbing algorithm
    2014-01-22 00:49:56下载
    积分:1
  • CA-Single_12072013
    利用卫星观测文件和导航文件进行单点定位,德国导航文件官网提供,程序很精炼(Using satellite observation files and navigation files for single point positioning)
    2014-12-01 02:09:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载