How to generate a square lattice structure.

12 ビュー (過去 30 日間)
Subhashish Tiwari
Subhashish Tiwari 2015 年 8 月 5 日
コメント済み: Muse 2023 年 11 月 15 日
In the attached image there is a square lattice shaped structure of air holes. Please tell me how to generate it using matlab code.
  2 件のコメント
MUSE
MUSE 2023 年 10 月 18 日
it is interesting!
Muse
Muse 2023 年 11 月 15 日
It can be done on Abaqus also!

サインインしてコメントする。

回答 (2 件)

Rohit Kudva
Rohit Kudva 2015 年 8 月 7 日
Hi Subhashish,
I am not sure about your use case for developing this square lattice structure. Do you want it for some kind of analysis?. In case you just want the MATLAB code to draw this figure, You can use the ' rectangle ' function to draw out the main square frame and then use the ' viscircle ' function to draw the circles. Note that the 'viscircle' function is a part of the Image processing Toolbox. If you don't have one, you can use the 'rectangle' function to draw the circle as well by setting the curvature property to [1 1]. You can also refer to the ' Pattern Generator for MATLAB ' File Exchange submission that seems to generate similar lattice structures.
- Rohit
  3 件のコメント
AQSA
AQSA 2016 年 3 月 29 日
hi Subhashish can you please send me the code for hexagonal lattice
Mariam Kavai
Mariam Kavai 2019 年 1 月 30 日
Hi subhashish, could you please send me the code for a hexagonal lattice. I appreciate it.

サインインしてコメントする。


Sara
Sara 2020 年 6 月 26 日
1st
create zeros materix
2nd
create disc materix
3rd
set for function to add the disc into the zeros materix
from here you can set the diatnce btween each disc
4th
gaussan the final image to obtain similar image as you can see in any TEM image

カテゴリ

Help Center および File ExchangeCondensed Matter & Materials Physics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by