-
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
-
SimuAPSO1
模拟退火粒子群算法,简单实用,非常好的程序(Simulated annealing particle swarm algorithm, simple, practical, very good program)
- 2010-08-04 22:31:35下载
- 积分:1
-
Hamming
海明加权的天线方向图,使用matlab 调试过,对研究雷达天线的同志很有帮助。(Hamming weighted antenna pattern, use the debug matlab, and the study of the radar antenna comrades helpful.)
- 2020-07-01 20:00:02下载
- 积分:1
-
GA-Methods
GA Optimization methods for real numbers (continuous numbers)
- 2014-09-16 19:30:16下载
- 积分:1
-
experiment1
fuzzy arithmetic program is creating error
- 2011-02-10 16:14:21下载
- 积分:1
-
C_Primer_PlusNote
含有C_Primer_Plus_(第五版)_中文版另外还有C_Primer_Plus的读书笔记(Containing C_Primer_Plus_ (Fifth Edition) _ Chinese version Another C_Primer_Plus reading notes)
- 2014-10-27 21:50:52下载
- 积分:1
-
matlab
离散系统的Nyquist图,针对离散系统进行稳定性分析。(Nyquist plots of discrete systems, stability analysis for discrete systems.)
- 2015-04-06 14:31:56下载
- 积分:1
-
smartantennasbeamforming
天线阵的波束形成Matlab代码(圆阵)(antenna beamforming Matlab code (UCAs))
- 2021-05-08 21:08:35下载
- 积分:1
-
MATLAB
truetime工具箱2.0 bate6里面的例子(The examples of Truetime 2.0 bate 6)
- 2012-05-03 13:31:17下载
- 积分:1
-
toolbox
matlab时频工具箱,比较齐全,里面包含了时频分析的主要算法(time-frequency toolbox matlab, more complete, which includes the time-frequency analysis of the main algorithm)
- 2012-01-31 01:01:32下载
- 积分:1