-
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
-
three
MATLAB OFDM Code for receiver
- 2013-11-29 15:23:55下载
- 积分:1
-
saleh2012
说明: ZIP FILE for saleh123
- 2019-03-11 15:22:23下载
- 积分:1
-
gridding
Gridding is a method of interpolating data from an arbitrary 2D sampling pattern to a uniform grid. In MRI, this allows rapid image reconstruction. There are numerous publications on MR gridding reconstruction.
The tar file includes numerous .m scripts, and C code that can be compiled to a .mex function.
You will need to compile the MEX functions - in Matlab try "mex gridlut_mex.c" and "mex calcdcflut_mex.c" These should result in files gridlut_mex.mex??? and calcdcflut_mex.mex??? where ??? depends on your operating system.
Run the function spiralexample.m in Matlab. (Gridding is a method of interpolating data from an arbitrary 2D sampling pattern to a uniform grid. In MRI, this allows rapid image reconstruction. There are numerous publications on MR gridding reconstruction.
The tar file includes numerous .m scripts, and C code that can be compiled to a .mex function.
You will need to compile the MEX functions- in Matlab try "mex gridlut_mex.c" and "mex calcdcflut_mex.c" These should result in files gridlut_mex.mex??? and calcdcflut_mex.mex??? where ??? depends on your operating system.
Run the function spiralexample.m in Matlab. )
- 2010-05-23 14:20:54下载
- 积分:1
-
save2word
SAVE2WORD saves plots to Microsoft Word.
function SAVE2WORD(filespec,prnopt) saves the current Matlab figure
window or Simulink model window to a Word file designated by
filespec. If filespec is omitted, the user is prompted to enter
one via UIPUTFILE. If the path is omitted from filespec, the
Word file is created in the current Matlab working directory
- 2011-06-22 16:38:59下载
- 积分:1
-
adaptive
自适应变步长滤波,滤除脑电中的工频干扰.这是变步长的,是普通自适应滤波的改进(Adaptive variable step filter)
- 2015-10-06 21:55:49下载
- 积分:1
-
Matlab6.Xorithic
Matlab6.X辅助优化计算与设计源代码,该压缩文件中的源代码都能正常运行,本人在上课教学中都用过,很好用的(Matlab6.X auxiliary calculation and design optimization of the source code, the compressed file in the source code to the normal operation, I have used in class teaching, good use)
- 2007-12-23 10:50:06下载
- 积分:1
-
ljldsds
【matlab编程代做】振动响应谱 可以作为参考使用学习([Do] matlab programming generation vibration response spectrum can be used as a reference study)
- 2015-01-25 12:49:39下载
- 积分:1
-
UsageException
Simple exception class used to communicate that the command-line tool should print the usage message.
- 2014-01-13 12:21:03下载
- 积分:1
-
GBM
GBM 基于蒙特卡洛法的股票价格预测MATLAB模型(GBM Stock Price Forecasting Model)
- 2021-04-19 21:48:51下载
- 积分:1