Micromagnetic simulation and animation in MATLAB modeling discrete nanoparticles under the macrospin approximation. The particles are interacting with Heisenberg exchange, dipolar fields, and Zeeman energy terms. Note how the spacing of the particles reduces the exchange effect and results in a decoherent spin structure














