Below are a few Matlab files (and one Excel file) used during lectures. You can get a free copy of Matlab here.