victory1128 / ising-model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ising-model

The ising model is a mathematical model of ferromagnetism in statistical mechanics. This code uses MCMC(Markov chain Monte Carlo method) to calculate the internal energy, specific heat, magnetization, correlation function and character length.

##install Run install.m in matlab. You should add the whole path of the code before using it. You can run start_up.m and then you could use the examples in example directory.

About


Languages

Language:MATLAB 51.0%Language:C 49.0%