Montecarlo simulations show the phase transition from a disordered state to an ordered one in 2D and 3D while in the 1D case no phase transition is allowed for temperature different from zero.
The parameters T ( temperature in kb units) , J ( exchange constant ) and h ( external field ) can be adjusted freely.
Here J > 0 gives ferromagnetic order while J < 0 gives antiferromagnetic order.
引用
andrea (2024). Montecarlo Simulation of Ising Model (https://www.mathworks.com/matlabcentral/fileexchange/79544-montecarlo-simulation-of-ising-model), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2020a
R2019b 以降 R2020a 以前と互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!