Montecarlo Simulation of Ising Model

A simple simulation for 1,2 and 3 dimensional Ising model.

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with R2019b to R2020a

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Code correction

1.0.0