Programming in MATLAB