Xpang的个人博客分享 http://blog.sciencenet.cn/u/Xpang

博文

How to draw a Voronoi cell with Matlab

已有 7428 次阅读 2012-3-22 11:05 |系统分类:科研笔记| MATLAB, Voronoi

1. Build a matrix:

X=[]

2. Calculate the vertices of the Voronoi cell:

[V,C]=voronoin(X)

3. Extract the vertices of the bouded cell:

x=V(C{N},:), N denotes the number of the cell in the cell array.

 

非晶的最近邻原子排列,中间黑色边框构成的就是Voronoi Cell



https://wap.sciencenet.cn/blog-317101-550485.html

上一篇:Bipolar Plate Materials for PEM Fuel Cells
收藏 IP: 155.69.2.*| 热度|

1 王军强

该博文允许注册用户评论 请点击登录 评论 (3 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-19 16:52

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部