Ising Model and Metropolis Algorithm

versión (4.74 MB) por MathWorks Physics Team
Learn how to use the Metropolis algorithm to simulate the Ising model of a ferromagnet in MATLAB.

3K descargas

Actualizada 6 Jun 2017

Ver licencia

This example integrates computation into a physics lesson on the Ising model of a ferromagnet. Exercises are included at the end. Students learn how to implement the Metropolis algorithm, write modular programs, plot physical relationships, run for-loops in parallel, and develop machine learning algorithms to classify phases and to predict the temperature of a 2D configuration of spins.
Note on required products:
MATLAB is the only required product to run the live script, although some of the exercises use Statistics and Machine Learning Toolbox, Parallel Computing Toolbox, and Neural Network Toolbox.

Citar como

MathWorks Physics Team (2022). Ising Model and Metropolis Algorithm (, MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2017a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!