Read section 4.4 ``Presenting Your Results'' in "Differential Equations with Matlab". You will only receive credit for your homework if you follow the following rules:
problemX.m
containing
the commands for each problem.The easiest way is to use the publish
command
(available in Matlab 7 or higher).
Your m-file contains the main title (starting with %%),
then a "cell title" (starting with %%) followed by
comment lines
(starting with %), followed by Matlab commands, followed by additional
"cells" in the same format.
The publish
command then generates an html file (which you can
print from a web browser) or a Microsoft Word file containing input, output,
and graphics.
See also sections 4.4.3 (p. 43) and 4.4.5 (p. 45) in "Differential
Equations with Matlab").
Example: From the m-file publish_example.m we generate the web page publish_example.html with the command publish publish_example
If you don't use publish: For each problem hand in
problemX.m
containing the Matlab
commands, and comments answering the questions asked in the problem. Also
include comments for each plot command indicating which of the attached
graphics it produced.problemX.m
so that it is clear which
Matlab command produced which graphic.