These .m files together can perform basic EPG simulation with the following 3 effects
- RF pulse specified by phase (phi) and filp angle (alpha)
- Constant gradient
- T1 and T2 relaxation
References:
Weigel, Matthias. "Extended phase graphs: dephasing, RF pulses, and echoes‐pure and simple." Journal of Magnetic Resonance Imaging 41.2 (2015): 266-295.