-
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
-
FH_2FSK
基于FSK的快速跳频通信系统,使用simulink仿真工具实现(Fast frequency hopping communication system based on FSK)
- 2015-11-19 19:45:32下载
- 积分:1
-
jmbdusxn
加入重复控制,bXYCZIo参数三相光伏逆变并网的仿真,代码里有很完整的注释和解释,基于互功率谱的时延估计,fUIRmUe条件给出接收信号眼图及系统仿真误码率,仿真图是速度、距离、幅度三维图像。( Join repetitive control, bXYCZIo parameter Three-phase photovoltaic inverter and network simulation, Code, there are very complete notes and explanations Based on the time delay estimation of power spectrum, fUIRmUe condition The received signal is given eye and BER simulation systems, FIG simulation speed, distance, amplitude three-dimensional image.)
- 2016-02-24 17:35:26下载
- 积分:1
-
rgb2luv
RGB to LUV conversion in matlab
- 2010-08-03 22:09:17下载
- 积分:1
-
lx..pf
说明: 高校图象处理,里面的图画可以自己去找一张然后放到程序指定路径即可(college image processing, the picture inside themselves and they can then put a process can be designated trails)
- 2006-04-18 20:56:50下载
- 积分:1
-
FSMCI
模糊滑模控制实例 让你更了解模糊滑模控制器设计(Fuzzy Sliding Mode Control instances more about fuzzy sliding mode controller design)
- 2013-10-25 21:17:32下载
- 积分:1
-
PID_Matlab-AND-Cprogram
PID的matlab和语言编程算法 适合读读理解PID编程实现(Matlab language programming of PID and PID algorithm is suitable read to understand programming)
- 2013-10-31 20:51:08下载
- 积分:1
-
CUCAO
粗糙集MATLAB程序~~~~~~~~~~~~~~~~~~~~~(MATLAB PROGRAM)
- 2009-09-10 22:35:37下载
- 积分:1
-
sfunxyz
matlab simulink to draw 3D graph. It is very useful to know how sfunction works. Also, you can see how multiplexer is connected to draw a graph of 3 axises x y and z.
- 2010-06-17 19:49:44下载
- 积分:1
-
Gozaresh-Seminar(H.Ghadirian)
call matlab function from C++.zip
- 2013-07-29 18:55:36下载
- 积分:1