登录
首页 » matlab » src

src

于 2013-10-30 发布 文件大小:13KB
0 185
下载积分: 1 下载次数: 23

代码说明:

  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!

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • juanji
    实现卷积编码、解码,采用篱笆图的方式实现(implement of juanji)
    2010-05-27 15:38:36下载
    积分:1
  • Twobu
    两步法求方程的根植,,仅供参考仅供参考仅供参考仅供参考仅供参考(Two-step method for the equation of rooted, for reference purposes only for reference purposes only for reference purposes only)
    2011-09-27 10:43:48下载
    积分:1
  • NMFLABSP_ver1.2
    盲源分离算法中,另一新的理论,非负矩阵分解(NMF)。数据包中有代码及GUI(Blind source separation algorithm, another new theory, non-negative matrix factorization (NMF). Packet has the code and GUI)
    2009-12-17 09:08:51下载
    积分:1
  • Matlabocx
    说明:  matlab使用ocx控件编程的例子 对于matlab编程者有很大帮助(matlab programming examples using ocx control Matlab programming for those who are very helpful)
    2010-04-06 12:28:56下载
    积分:1
  • simpson
    Simpson’s Rule Intgral
    2014-01-05 22:57:42下载
    积分:1
  • Human_OpticalFlow
    适合初学者,光流,有主函数及图片,有mex以及路径添加(Suitable for beginners, optical flow, main functions and picture,)
    2016-01-18 11:15:02下载
    积分:1
  • Lynch_Maple13
    用来计算混沌动力学问题的源代码。包含分岔图绘制,最大李雅普诺夫指数,李雅普诺夫指数谱等一些重要的源程序。(This is a toolbox for chaotic dynamics analysis.Have fun!)
    2020-07-10 18:08:54下载
    积分:1
  • matlab
    关于matlab的一些图像预处理方面的文档知识与代码,希望对大家有所帮助(Matlab image pre-processing on some aspects of the documentation and code knowledge, we hope to help)
    2011-10-26 09:51:40下载
    积分:1
  • Phone
    c++实现的通信录,实现添加、删除、查找、修改等功能(communications recorded c++ implemented add, delete, search, modify functions)
    2014-01-14 10:02:38下载
    积分:1
  • BPSO
    基于matlab的粒子群算法仿真实例,里面包括主程序,还有改进算法。(Particle Swarm simulation example of matlab, which includes the main program, as well as improved algorithm.)
    2015-07-15 10:52:38下载
    积分:1
  • 696516资源总数
  • 106554会员总数
  • 12今日下载