ising_2d_simulation_test, a MATLAB code which calls ising_2d_simulation(), which carries out a Monte Carlo simulation of a 2D Ising model.
The computer code and data files described and made available on this web page are distributed under the MIT license
ising_2d_simulation, a MATLAB code which carries out a Monte Carlo simulation of an Ising model, a 2D array of positive and negative charges, each of which is likely to flip to be in agreement with neighbors.