Hi gang, To help you a bit with your Matlab coding, I've posted sample Matlab files for problems 2 and 3 that implement the matrices specified in those problems and also (unrestarted) Lanczos and steepest-descent (from lecture). Look at the lecture 18 entry on: http://math.mit.edu/~stevenj/18.335/ ---SGJ