Irregular meshgrid - how to create?

1 回表示 (過去 30 日間)
William White
William White 2017 年 11 月 10 日
I wish to create an irregular meshgrid to simulate the positions of an atomic lattice plane.
The plane is body-centred-cubic.
The unit of the plane is a rectangle of dimensions x,y:
sqrt2 x 1
Atom sit at the corners of the rectangle, and one the centre. I want the mesh to have co-originates where the atoms sit
So, if I had the origin at the bottom left of the unit rectangle, there would be co-ordinate positions (x,y)
0,0 (bottom left of rectangle) sqrt(2),0 (bottom right of rectangle)
1/2sqrt(2) , 1/2 (centre of the rectangle)
0,1 (top left rectangle) sqrt(2) , 1 (top right rectangle)
Then the rectangles need to be tiled into a large mesh, maybe 25 atoms high.
kind regards W

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by