how to plot direction field matlab of the following ode

Question : Plot direction field matlab of the following ode\[\frac{dx}{dt} =1+x-2xt\]Solution :%plot direction field matlab program of the ode[t,x] = meshgrid(-5:0.2:5,-5:0.2:5); n = size(t); u = ones(n); v = 1 + x-2.*x.*t; % right hand side of ode for i…

This Question has been answered. 

Please Login or Register to See The Answer