-
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
-
BWRemoval
几种去除基线漂移的方法,大家可以进行对比研究,个人认为还不错(Several methods to remove baseline drift, we can carry out comparative study, individuals consider good)
- 2009-03-10 17:18:26下载
- 积分:1
-
Telecommunications_Networks-BookExamples
Telecom Network Analysis
- 2010-10-24 01:56:43下载
- 积分:1
-
Test09_FIR02
FIR滤波器的设计代码,这是其中的一部分,剩下的陆陆续续会传到这里(FIR filter design code, which is a part of it, the rest will continually spreads)
- 2013-04-09 20:44:08下载
- 积分:1
-
Rayleighfadingchannelmodelandsimulation
Rayleigh衰落信道仿真 多径与单径,多普勒平移(Rayleigh fading channel model and simulation:Rayleigh_Doppler_singlePath, Rayleigh_Doppler_multiPath)
- 2020-12-26 15:39:03下载
- 积分:1
-
06dtvtsimulationplatformsforofdm
SIMULATION BY MATLA INCLUDE OFDM
- 2010-12-08 10:36:27下载
- 积分:1
-
1vsr
svm在matlab环境下多类分类中的一对多分类器类型程序(svm in Matlab environment over classification of the one-to-many types of procedures classifier)
- 2007-06-24 18:10:19下载
- 积分:1
-
awackley
awackley测试函数,经过实验的确可以用,哈哈,分享给大家(awackleytest function, indeed can be used through the experiment, ha ha, for everyone to share)
- 2011-09-01 14:51:35下载
- 积分:1
-
xdglp
对一列信号进行现代功率谱分析 (Of a signal power spectral analysis of modern )
- 2010-11-18 11:59:39下载
- 积分:1
-
simulations
voltage source inverter
- 2011-01-11 01:23:58下载
- 积分:1