-
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
-
Deteccion_Esquinas
programa para detectar esquinas
- 2012-05-10 08:43:26下载
- 积分:1
-
five_three
主要是讲解关于matlab软件的五点三段式的插值处理的m文件(Mainly to explain the five points on three-matlab software interpolation processing m-files)
- 2011-10-17 19:17:28下载
- 积分:1
-
mohujulei
模糊聚类方法,用相关系数法构造模糊相似关系矩阵r,构造了模糊等价评判矩阵,为了方便下载者使用,把代码进行了优化,可直接把矩阵带进去使用。(Fuzzy clustering method, using the correlation coefficient method to construct the fuzzy similarity relation matrix r, construct a fuzzy equivalence evaluation matrix, in order to facilitate the download to use, the code has been optimized, can go directly to the matrix with the use.)
- 2010-09-09 14:05:55下载
- 积分:1
-
DCmotor
这个是TMS320F2812的DSP直流电机驱动程序,对c2000 DSP初学者有很大的帮助!(This is the TMS320F2812 DC motor driver for the DSP, the c2000 DSP beginners great help!)
- 2010-03-04 16:58:21下载
- 积分:1
-
狗腿法解信赖域子问题
说明: 用最优化方法中的狗腿法求解信赖域子问题的算法编程实现(Algorithm realization of solving trust region subproblem with dogleg method)
- 2021-02-08 21:39:54下载
- 积分:1
-
aei(8x8)
用pnn或gbl进行码书设计,用aei进行码字搜索的MATLAB源码。(Pnn or carried out by gbl codebook design, aei codeword search for the MATLAB source code.)
- 2009-05-19 21:14:32下载
- 积分:1
-
ofdmwithclipping
ofdm using clipping method
- 2010-12-21 04:52:41下载
- 积分:1
-
GMM
说明: 高斯混合模型,有详细的说明,而且有程序,希望下载,很有帮助的!(GMM including explanation and programs)
- 2011-03-17 21:00:54下载
- 积分:1
-
SPSO
用Matlab编写的完整标准PSO算法,目标函数为Griewank函数.(Standard PSO algorithm using matlab,and the subject function is Griewank)
- 2014-08-07 16:59:25下载
- 积分:1