-
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
-
program
算法部分是网上下的,因为应用不同,有所改动,界面程序是我自己加的,很简陋,但是能用,有的地方原程序被注释掉了,是为了保持原有程序的语句,怕删掉以后回不去。运行时注意地址和函数调用格式
(poor)
- 2010-06-02 15:31:09下载
- 积分:1
-
AF
AR模型预测,matlab环境下用AR谱估计算法实现AR模型谱估计(AR model prediction, matlab environment AR spectral estimation algorithm AR model spectrum estimation)
- 2013-07-10 15:46:16下载
- 积分:1
-
Qmod
16 qadrature amplitude modulation convert 4bits to its reall and imajenary points
- 2010-11-28 15:37:10下载
- 积分:1
-
proj
ITS ABOUT SOME BASIC MATLAB OPERATION
- 2013-09-11 23:54:34下载
- 积分:1
-
Wind
a new circuit topology of a
phase-locked loop that can be used for synchronising a singlephase
wind turbine generator (WTG) with the low voltage utility
grid. The circuit is based on the time-delay digital tanlock loop
(TDTL) architecture and was modelled and simulated using
Simulink/MATLAB. The results presented demonstrate the
ability of the circuit not only to synchronise a WTG with the grid,
but also to re-gain synchronization following a sudden
disturbance in the grid voltage. The simulated disturbances
included a ramp and a multi-step change in the phase of the grid
voltage waveform.
- 2013-12-16 13:19:43下载
- 积分:1
-
wumai1
利用retinex理论对雾霾天气下的图像进行去雾处理,达到图像增强的效果(Retinex theory use images under fog and haze were treated to fog, to image enhancement effect)
- 2015-04-14 21:33:14下载
- 积分:1
-
kals_publish
KALS is an algorithm of robust hybrid linear modeling. It is designed to
remove impulsive noise (denoising) and scratches (blind inpainting) from
images.
- 2012-11-29 22:24:42下载
- 积分:1
-
fengdianyuce1
arma时间序列预测,可以用来通过过去的数据预测未来的风电功率(arma,you can use it to predict the future wind power )
- 2016-03-14 18:26:21下载
- 积分:1
-
DOA_estimationline
智能天线中多单元线形天线阵的波达方向估计(Smart antennas in multi-element linear antenna array of the Direction of Arrival Estimation)
- 2007-09-02 20:14:20下载
- 积分:1