Basic description of matlab code.