tap matlab
instead of
tap matlab51
. To start Matlab, type tap matlab
and
matlab -nosplash
.
Problem 2(c): You don't have to plot f(t)
since ezplot
does not work with Dirac
.
Information about time & place, instructor, textbooks, syllabus, grading policy, Matlab assignments, final exam. This was handed out in the first class.
prob.m
, prob.txt
and graphics for
each problem).
Typo in 2(b): perform 20 steps (not 32 steps) with h=0.125.
Hint for making tables in 2(b): Generate a column vector
y
of Euler values as explained on page 8 of the handout ``Numerical Methods''
(PS). Generate a column vector yval
of values of the exact
solution as explained at the end of
``Using Matlab for First Order ODEs''. Then generate a table with three
columns for t, Euler values, and errors using
[tval,y,abs(y-yval)]
.