-
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
-
fuzzy_work
模糊系统的simulink仿真,控制一阶和二阶系统(Simulink fuzzy system simulation, control first-order and second-order system)
- 2009-01-15 15:43:36下载
- 积分:1
-
add_phase_noise
相位噪声的维纳建模,这是一个添加相位噪声的子程序(Wiener phase noise model, which is a subroutine to adding phase noise)
- 2021-03-31 21:19:08下载
- 积分:1
-
suojing
一个简单的缩进程序,用于整理字符串界面.演示了你就知道(clear up string)
- 2010-06-04 14:28:24下载
- 积分:1
-
GRLS-IDIFICATION
系统辨识 自适应控制 广义递推最小二乘 (system identification. generalized least square identification )
- 2011-11-25 21:46:42下载
- 积分:1
-
fuzzycontrol
一个模糊控制在汽车方面的应用程序,a car fuzzy control can be well applied to the characteristics FUZZY (a car fuzzy control can be well applied to the characteristics FUZZY )
- 2012-10-19 21:58:34下载
- 积分:1
-
RDA
大斜视角下,点目标的距离多普勒算法(RDA,Range_Doppler Algorithm)仿真,Matlab语言。(Range_Doppler Algorithm,Matlab)
- 2014-02-25 23:56:41下载
- 积分:1
-
non_coherent
performs bpsk modulation with non coherent detection
- 2010-11-24 18:34:43下载
- 积分:1
-
Synchronization
定时同步的文章,很值得看一看,算法简单,精度很高!(Timing of the article, well worth a look, a simple algorithm, high precision!)
- 2010-03-15 01:30:11下载
- 积分:1
-
grid_world
grid_world example with reinforcement learning
- 2015-03-14 01:32:36下载
- 积分:1