MATLAB simulation of plate culture