+cmu - Matlab package

+cmu is a Matlab package that enables you to extract the Matlab code used in this blog, to use units in Matlab, use color names in plotting, use finite difference derivative functions and easy installation of Matlab functions.


  1. Download this zip file.
  2. Unpack the zip file, and move the +cmu directory (it is inside the directory in the zipfile) somewhere on your Matlab path.


We are always adding new functionality and fixing bugs, so it will occasionally be necessary to update your +cmu installation. This is easy to do. Just delete the directory created above, and repeat steps 1 and 2.


help cmu.units

See this page for example usages.