-
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
-
HOSA
数字信号处理高阶谱工具箱,里面包含工具箱的使用说明(Digital signal processing high-order spectral toolbox, which contains instructions Toolbox)
- 2009-03-16 10:18:44下载
- 积分:1
-
weifenxianxing
微分先行式的PID调试程序 matlab的M文件(PID differential first debugger matlab-style M-file)
- 2010-01-06 11:38:41下载
- 积分:1
-
Autofocus-for-digital-Fresnel-holograms-by-use
autofocus digitla hologram reconstruction
- 2013-01-24 15:48:38下载
- 积分:1
-
gray-prediction
在matlab中实现对矩阵数组的灰色预测,预测出后三年的数据(In matlab to achieve an array of matrix grey prediction, predict three years after data
)
- 2012-05-17 21:24:22下载
- 积分:1
-
ruan1
软起动模块simulink 是软起动的simpower system的模块,希望对大家有帮助(softstart simulink program)
- 2013-10-08 19:26:17下载
- 积分:1
-
ReadOneSRTMData
能自动读取hgt格式的SRTM数据,进而可以转化为自己需要的格式。同时,该程序具有一定的交互性(this software can automaticaly read the SRTM data with format of hgt, and also transfer your format. Also, this software are interactive.)
- 2012-01-08 09:07:33下载
- 积分:1
-
RGBMatlab
本文提供了彩色图像的简单降采样,缩小,及方法功能,以及图像成倍给打上马赛克的matlab有效可执行代码,希望对大家的学习有帮助。(This article provides a simple down-sampled color image, narrow, and functional method, and an image mosaic matlab doubled to effectively marked executable code, we hope to help learning.)
- 2016-12-12 13:42:37下载
- 积分:1
-
FuzzyControl
模糊PID控制在直流调速系统中的应用
(
The APPlication of Fuzzy Control lerin DCSP Regulation
)
- 2009-03-27 12:06:19下载
- 积分:1
-
DBF
说明: 包含波束形成的仿真,五种阵列波束:线阵,主瓣偏移线阵,切比雪夫加权的线阵,圆阵,平面阵(Beamforming simulation contains five arrays beam: linear array, the main valve offset linear array, weighted Chebyshev linear array, circular array, planar array)
- 2021-04-06 14:49:03下载
- 积分:1