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.
424 Downloads
Updated 25 Aug 2020

View License

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 (2024). 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 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.1

Code correction

1.0.0