Matlab code snippets

I will use matlab in class when appropriate. I will post the code I use, with explanatory materials, on this page. I strongly urge you to edit and run these codes yourself!

It is easy to get Matlab. UMass students get a 100% discount; see OIT's Matlab licencing page.

As an alternative, use GNU Octave, a free clone. Codes I post here should run unchanged in both packages.