Generating Moiré Patterns in Twisted Bilayer Graphene

Version 1.0.0 (214 KB) by Ahmad
This code provides a basic Moire pattern for Bilayer Graphene.
53 Downloads
Updated 16 Dec 2024

View License

This MATLAB script simulates the formation of Moiré patterns in twisted bilayer graphene. The code generates two hexagonal graphene layers with precise atomic arrangements based on the hexagonal lattice geometry.
The first layer is built with defined lattice parameters and connectivity, while the second layer is created by applying a specified twist angle around the center of the first layer. The twist introduces periodic interference patterns known as Moiré patterns, which are visualized by plotting both layers with distinct colors.

Cite As

Ahmad (2025). Generating Moiré Patterns in Twisted Bilayer Graphene (https://www.mathworks.com/matlabcentral/fileexchange/177509-generating-moire-patterns-in-twisted-bilayer-graphene), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0