Open the script sol_sinint.m
- Copy and paste the commands. Try different ezplot commands (without
the % character).
- Change current directory to the directory of sol_sinint.m. Then type
sol_sinint at the prompt.
- Open a new M-file and call it "out.m"; then copy and paste the
output from the "command window" into "out.m".
- Submit a print out of the M-file and the graph.
Hint
One can
get help in Matlab by using the command "help" or "lookfor".
Try the
following:
>>
help help
>>
help sin
>>
help sinint
>>
lookfor sin