addpath('H:\mydocuments\homework1')
and then Matlab will be able to find the m-files in this directory (see
Common Problems with Matlab).
Hints:
opt=odeset('RelTol',1e-4,'AbsTol',1e-7);
[ts,ys]=ode45(...,opt)
(where "..." are the normal arguments of ode45).