Matlab code for various university courses.