These matlab codes simulate grain growth by solving the phase field equations using a centered finite difference method