-
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
-
staggered-grid
实现了声波波动方程有限差分正演模拟,交错网格下,时间2阶空间10阶(Achieve the acoustic wave equation finite difference forward modeling, staggered under the grid, the time second-order space 10 order)
- 2021-04-12 16:38:57下载
- 积分:1
-
nengliang
频谱感知中能量检测仿真代码,检测概率和虚警概率关系(Energy detection simulation code, detection probability and false alarm probability relationship.)
- 2018-05-23 16:54:41下载
- 积分:1
-
intrans
简单介绍了intrans的用法,并简单那介绍了研究生写开题报告时应该注意的问题(Intrans introduced the use of simple, and it introduces the students to write a simple opening report should pay attention to the problem)
- 2010-10-15 12:00:57下载
- 积分:1
-
MATLAB-commonly-used-algorithm-
学习MATLAB发的好教材,本电子文档主要讲解了MATLAB的主要算法设计,里面有详细的说明(Learning the MATLAB hair is good material , the electronic document explains the MATLAB algorithm design , which are described in detail
)
- 2012-03-30 18:58:11下载
- 积分:1
-
Gonzalezdigitalimageprocessingmatlabversionofsourc
冈萨雷斯数字图像处理MATLAB版,适合初学者(Gonzalez Digital Image Processing MATLAB version For beginners)
- 2010-05-12 21:09:29下载
- 积分:1
-
源代码
MATLAB环境下利用YALMIP调用CPLEX12.90,UnitCommitment代码(Under the conventional two-stage dispatching framework, network-constrained unit commitment and economic dispatch are realized.)
- 2019-06-14 17:47:25下载
- 积分:1
-
基于MATLAB 用公式搭的光伏电池
基于matlab公式 自己搭的光伏电池
可以输出I-U图形与P-V图形
基于matlab公式 自己搭的光伏电池
可以输出I-U图形与P-V图形
基于matlab公式 自己搭的光伏电池
可以输出I-U图形与P-V图形
基于matlab公式 自己搭的光伏电池
可以输出I-U图形与P-V图形
基于matlab公式 自己搭的光伏电池
可以输出I-U图形与P-V图形
- 2023-08-04 19:10:03下载
- 积分:1
-
GSP-theory-and-simulation-matlab
电子科技大学出版的GSP信号及其matlab仿真书籍(University of Electronic Science and Technology, published matlab simulation of signal and its GSP)
- 2011-05-31 11:07:31下载
- 积分:1
-
flayback1
基于matlab/simulink的反激变换器仿真(Based on matlab/simulink simulation flyback converter)
- 2013-10-20 13:26:50下载
- 积分:1