O - Help LABR2013a bin Figure 1 IC Editor - C\UsersSamson\Documents\MATLAB\GSPROJ File Edit View Insert GSPROJ. GSPROJONE. m Todis Desktop Window clclclears screen clear alltclears history close alltcloses all files format long hold on; 0.8 -@(X,Y) 3*y+x*exp(4**); dirfield (1,-2:0.1:1,-10:0.5:4): [T,Y)=ode 45 (f, [0,1], 0); 0.6 plot (T, Y): [T, Y)-ode 45(f, [0,1),-3); 0.41 plot (T,Y): [T,Y) Mode45 (f, [0,1], 2); plot (T, Y); 0.2 [T,Y)-ode 45 (f, [0,-2), 0); plot (T, Y); [T,Y]=ode 45 (,[0,-2),-3); 1 02 04 0.6 0.6 plot (T,Y): [T, Y)-ode 45 (, [0,-2), 2); plot TY Command Windows Undefined function 'dirfield' for input arguments of type 'function_hand Error in GSPROJ (line 1 dirfield (1, -2:0.1:1, -10:0. fx >> script O wi 9 - B Figure 1 File Edit View Insert Tools Desktop Window Help R2013a bin Editor - C:\Users\Samson\Documents\MATLAB\GSPROJ. GSPROJ. GSPROJONE. m x [T,Y]-ode 45 (F, [0,-2), -3); plot (T,Y): [T,Y]=ode 45 (1, [0,-2), 2): plot (T,Y): FUNCTION dirfield (f, tval, yv [tm, ym) -meshgrid (tval, yval) dt = tval (2) - tval(1); dy = yval (2) - yval (1): fv = vectorize (f); if isa (f, 'function handle fv = eval(fv); end yp=feval (fv, tm, ym); s = 1./max (1/dt, abs (yp). /dy) *0.3 h = ishold; quiver (tval, yval, 3, 3. *YP,0,'.') 32- quiver (tval, yval,-3,-3. YP,0,'.PL 33 - if h IIIIIIIIIII 0.4 0.6 0.8 Command Window Undefined function 'di nts of type "function handler 2d Error in G5PROJ (lin dirfield (f, -2:0.1 >> script o Biwi 9 He - MATLABR2013abin Figure 1 IC Editor - C:\Users\Samson\Documents\MATLAB\GSPROJ. File Edit View Insert Tools Desktop Window GSPROJ. GSPROJONE.m [tm, ym] meshgrid(tval, yval): dt - tval(2) - tval (1): dy - yval (2) - yval (1): fv = vectorize (1): if isa(, 'function handle') 0.8 fv = eval(fv); end Yp-feval (fv, tm, ym); 0.6 3 - 1./max (1/dt, abs (yp). /dy) *0.35; h - ishold; 0.4 quiver (tval, yval, 3, 3. *YP,0,'.r'): hold on: quiver (tval, yval,-3,-3. *YP,0,'.1'); 02 ifh hold on else hold off 0 02 0.4 0.6 37 - end 38 - axis ([tval(1)-dt/2, tval (end) +dt/2, yval (1)-dy/2, yval (end) +dy/2]) END; 0.8 Command Window Undefined function 'dirfield' for input arguments of type 'function handler. Error in GSPROJ (line 7) dirfield (1, -2:0.1:1,-10:0.5:9); Script OBI wa