Matlab code for a model of the changes to the cell density based on different inputs.