How to generate a square lattice structure.
이전 댓글 표시
답변 (2개)
Rohit Kudva
2015년 8월 7일
0 개 추천
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
Subhashish Tiwari
2015년 8월 7일
AQSA
2016년 3월 29일
hi Subhashish can you please send me the code for hexagonal lattice
Mariam Kavai
2019년 1월 30일
Hi subhashish, could you please send me the code for a hexagonal lattice. I appreciate it.
Sara
2020년 6월 26일
0 개 추천
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
카테고리
도움말 센터 및 File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
