Ising Model and Metropolis Algorithm

Learn how to use the Metropolis algorithm to simulate the Ising model of a ferromagnet in MATLAB.

Download
Download

You are now following this Submission

Cite As

MathWorks Physics Team (2026). Ising Model and Metropolis Algorithm (https://ch.mathworks.com/matlabcentral/fileexchange/62194-ising-model-and-metropolis-algorithm), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Added an exercise to parallelize the Metropolis algorithm on a GPU.

Download
1.1.0

Updated summary description.

Download
1.0.0

Revised based on team review.

Download