Here's a quick MATLAB reference/tutorial guide, refer to as a refresher and once you start coding assignments. Also don't forget to use the help command for MATLAB's help menu.
Reference Guide to estimation of Derivatives with Finite Differencing. Even though this won't be discussed for awhile, the first two homework assignments are based around these equations for those interested.
Mike has prepared a short document to help you diagnose errors in your code.