Description: syms x g = exp (x* sin (x)) t = taylor (g, 12,2) xd = 1:0.05:3 yd = subs (g, x, xd) ezplot (t, [1 , 3]) hold on plot (xd, yd, ' r-.' ) title (' Taylor approximation vs. actual function' ) legend (' Taylor' , ' Function' )
To Search:
File list (Check if you may need any files):
chap11\myfun1.m
......\myfun2.m
......\myfun3.m
......\myfun4.m
......\myfun5.m
......\myfun6.m
......\nonlconstr.m
......\objfun.m
chap11