Useful Links



Professor Anderson's Quick Matlab Documentation
Matlab's Official Online Help Desk. You may download Matlab manuals here.
A free copy of Matlab Primer.
Some Disasters due to Bad Numerical Computing. So, please pay attention in class!!!

Matlab Codes



Download the 'bare minimum' Euler code. You might want to test this code with the function called fun on the interval [0,2] with initial condition y(0)=.5 while using the step size h=.2.
On the Matlab prompt, type euler('fun',0,2,.5,.2).

Here is a linear system solver for triangular nxn matrix. This code directly solves Ax=b via LU decomposition; i.e. Lz=b is solved for z and Ux=z is then solved for x.
On the Matlab prompt, type triLUpvt(A,b). (Input your choice of A and b).

Sample Exams



Here's some review questions for the upcoming midterm. Enjoy!