-
src
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!
- 2013-10-30 12:23:18下载
- 积分:1
-
filespeccc
Conversion between absolute and relative path names
- 2013-10-25 17:07:46下载
- 积分:1
-
DDA-receiver
分别给出了带卷积吗,卷积吗-RS吗,RS吗的系统误码率仿真程序( )
- 2013-04-29 15:32:17下载
- 积分:1
-
NEWTON-RAPHSON
power flow solutions using Newton Raphson technique on IEEE 14, 30 and 57 bus system. useful for those who want to learn optimization technique in power system. if you find any difficulty mail me or any suggestion is welcome to improve this code.
- 2015-03-24 20:00:02下载
- 积分:1
-
sousu
本程序可以用于自然最近邻的搜索,这里以500个点威力(This procedure can be used to naturally nearest neighbor search)
- 2014-12-13 22:03:14下载
- 积分:1
-
Matlab---Graphics-and-GUIs-with-Matlab--3rd-Editi
Matlab - Graphics and GUIs with Matlab, 3rd Edition
- 2012-11-29 16:55:03下载
- 积分:1
-
LensDesign
本书介绍了光学设计的理论和并给出了一些实例及相关的参考文献,对于从事镜头设计的研究者来说具有很好的参考价值。(This book introduces the theory and optical design and gives some examples and related references for researchers engaged in the lens design is a good reference value.)
- 2010-08-30 10:16:43下载
- 积分:1
-
image_block
说明: 实现了图像的分块操作,比较方便初学者使用(It is the program for image blocking.)
- 2010-04-30 11:01:03下载
- 积分:1
-
programs
it calculates the range of radar using radar range equation.
- 2014-01-18 22:54:32下载
- 积分:1
-
波束形成代码和原理解析
说明: 关于声学中波束形成的代码和波束形成原理的解析(Analysis of beam forming principle)
- 2021-02-05 13:29:57下载
- 积分:1