-
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
-
complex_pump_0_02
介绍如何用较复杂的方法去优化对负载具有感知特性的“黑匣子”模型的神经网络控制。(Shows how to use the complex method to optimize a black-box neural network model of a load-sensing )
- 2009-04-02 19:20:49下载
- 积分:1
-
sparseBSS1
稀疏分量分解。
function [y A]=sparseBSS1(X,L,langda,G,h,delta)(function [y A]=sparseBSS1(X,L,langda,G,h,delta)
----------------------------------------------------------------
2009-04-15 YangZhicong
X: observed signal,each row correspond to a sensor observations
L: the length of FFT (or the length of Hanning window)
langda: adjust the desired angular width
G: discretize the potential field by taking a sample of G points
h: threshold
y: estimated sourses
A: estimated mix matrix
)
- 2010-05-27 10:22:17下载
- 积分:1
-
蚁群算法学习
说明: matlab可实现代码,学习用比较好。可以实现基于matlab的蚁群算法。(Matlab can achieve code, learning with better.Ant colony algorithm based on Matlab can be realized.)
- 2021-01-18 16:36:15下载
- 积分:1
-
FUZZY
模糊控制PID在SIMULINK中的实现与具体操作细节(fuzzy control)
- 2015-02-14 17:34:25下载
- 积分:1
-
double-close--loop-control-C-program
电机双闭环电流环速度环PID控制,无刷直流电机(double close loop control C program)
- 2015-03-23 10:58:35下载
- 积分:1
-
200310291534867
说明: 讲解了FFT DFT 以及有关的matlab函数,比较实用(Explained the FFT DFT and the matlab function, more practical)
- 2010-04-09 09:50:57下载
- 积分:1
-
Butterworth_Filter
butterworth滤波器,可实现高通低通滤波(butterworth filter, low pass filter high-pass)
- 2010-11-04 21:54:58下载
- 积分:1
-
AMencoder
运行环境MATLAB R2009a/功能:实现AM调制 (AM encoder under MATLAB R2009a)
- 2010-06-02 21:46:44下载
- 积分:1
-
L6.1
Game spade and fixed
- 2013-04-16 23:42:57下载
- 积分:1