You will only receive credit for your homework if you follow the following rules:
For each problem you must hand in
;'' at the end of lines to suppress
the output of intermediate results (especially if these are large
arrays).disp or fprintf commands to for text output,
see examples. Use the
title, xlabel, ylabel,
legend commands to label your graphs, see example.print -dps figXY.ps in Matlab produces a postscript file
figXY.ps of the current figure which you can then send to the
printer.)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).