EN40 Matlab Tutorial - Brown University