MATLAB script for avalanche size distribution of electrophysiological recordings. Works with spike detection files generated using the spike detection script here: https://github.com/SocratesNFR/MCSspikedetection. A new version will be created in the future to improve usability.