-
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
-
autocorrelation
时间序列中自相关函数的计算代码,内附程序说明(Time series in the calculation of the autocorrelation function of the code, containing a description of the procedures)
- 2010-10-10 10:44:54下载
- 积分:1
-
matlablearn
说明: 如果你还在为数据计算烦恼,为信号仿真处理烦恼,试试这个文档,很好很优秀的matlab将为你解决一切(If you' re still trouble for the data calculated for the signal simulation dealing with troubles, try this document, very good very good matlab will give you solve all the)
- 2009-08-28 20:02:54下载
- 积分:1
-
OptimalRestrain
说明: Matlab数学实验,约束优化的算法Matlab的实现(Matlab mathematical experiment, constrained optimization algorithm to achieve Matlab)
- 2006-04-21 12:40:56下载
- 积分:1
-
APE_Chat_Demo
Chat application - real time chat application
- 2014-10-07 11:22:36下载
- 积分:1
-
Something-of-Matlab
matlab入门到精通,对初学者和高手都非常有用。(Entry to the proficient in matlab, is very useful for beginners and master.)
- 2013-09-25 11:24:40下载
- 积分:1
-
matlab802-16
code matlab for ieee 802.16
- 2009-07-05 17:25:46下载
- 积分:1
-
wavelet_denoising3_20
这是利用二维小波分析对含高频噪声的图像进行消噪的例程,这里采用的是小波分解系数阈值量化法,(This is the routine use of two-dimensional wavelet analysis denoising images with high-frequency noise, the wavelet coefficients threshold quantization method used here,)
- 2013-03-28 18:08:33下载
- 积分:1
-
tracking1
用于图像处理等等,在MATLAB中实现移动目标的检测与辨识。(Used in image processing and so on, is realized in MATLAB moving target detection and recognition.)
- 2013-11-18 22:33:31下载
- 积分:1
-
GAOT-master
Matlab遗传算法工具箱 by
Christopher R. Houck
North Carolina State University(A Genetic Algorithm for Function Optimization: A
Matlab Implementation
Christopher R. Houck
North Carolina State University)
- 2013-05-23 20:49:12下载
- 积分:1