MATLAB codes

to accompany Epidemics on hypergraphs: Spectral thresholds for extinction, by Desmond J. Higham and Henry-Louis de Kergorlay, Proceedings of the Royal Society, Series A, 2021.