Montecarlo Simulation of Ising Model
Version 1.0.1 (4.02 KB) by
andrea
A simple simulation for 1,2 and 3 dimensional Ising model.
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.
Cite As
andrea (2026). Montecarlo Simulation of Ising Model (https://www.mathworks.com/matlabcentral/fileexchange/79544-montecarlo-simulation-of-ising-model), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with R2019b to R2020a
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
