-
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
-
ai_RayCh
无线通信中采用Dent模型的瑞利衰落信道产生器(Dent model used in wireless communications, Rayleigh fading channel generator)
- 2010-07-09 17:49:55下载
- 积分:1
-
70-83
《MATLAB时尚百例实例》实例70-83()
- 2007-07-11 15:10:56下载
- 积分:1
-
glpbiyan
脑电波分析程序,由EEG仪器采集脑电波,然后用小波变换来分析采集的脑电波信号(Brain wave analysis program, collected by the EEG brain wave instrument, and then use wavelet transform to analyze the EEG signal acquisition)
- 2020-09-17 17:37:55下载
- 积分:1
-
shuangpufa
双谱法时延估计算法,经过仿真验证效果很好(Dual spectroscopy delay estimation algorithm through simulation works well)
- 2014-03-13 10:07:02下载
- 积分:1
-
facerecognizeonPCA
像的许多个空间中的一个。不管子空间的具体形式如何,这种方法用于图像识别的基本思想
都是一样的,首先选择一个合适的子空间,图像将被投影到这个子空间上,然后利用对图像
的这种投影间的某种度量来确定图像间的相似度,最常见的就是各种距离度量。(Like much of a space. Regardless of the specific sub-space form, this method has been applied to image recognition are the same basic idea, first of all, select an appropriate sub-space, image will be projected onto this subspace, and then use the image projection of this inter- some measure to determine similarity between images, the most common is that all kinds of distance measure.)
- 2009-03-06 09:22:20下载
- 积分:1
-
sqx
说明: 这是基于matlab6.5 用于仿真设计双曲面放射镜的程序,后续开发将完善参数分析部分!(This is based on the design for simulation matlab6.5 mirror hyperboloid radiation procedures, subsequent development will improve the parameters of part!)
- 2011-02-22 11:24:12下载
- 积分:1
-
BM
说明: Brownian Motion, Option.
- 2007-10-27 12:32:03下载
- 积分:1
-
heed_matlab
HEED protocol code developed using Matlab
- 2010-11-19 16:08:21下载
- 积分:1
-
a2efb6c2e50d
讲解LDA的,程序编写较为精致,可读性强(Explain the LDA, the program is to write more sophisticated, readable)
- 2012-07-17 12:50:47下载
- 积分:1