How to Hand in Matlab Homework

You will only receive credit for your homework if you follow the following rules:

For each problem you must hand in

  1. a printout of the m-file (and all m-files called from it) containing the Matlab commands.
  2. a printout of the exact output of your m-file (where all results are properly labeled).
  3. a printout of all graphics (properly labeled) (The command print -dps figXY.ps in Matlab produces a postscript file figXY.ps of the current figure which you can then send to the printer.)
  4. separate text pages on which all the questions asked in the problem are answered (can be handwritten).

If you use Matlab 7 you can also use the publish command to generate an html file and print this from your web browser. This printout replaces 1.-3. from above (you still need to print out m-files called from the main program).