first time using matlab, how can i use solve to find the equilibrium solutions of the differential equation, y` = -( 3 - y ) y
No products are associated with this question.
I would not use solve(). I would try ode45() to start.
for details and examples.
Why bother using matlab when elementary differential equations techniques will easily give the solution:
y = 3/(1+k*exp(3*x))
for arbitrary constant k and with x the independent variable.
Like @the cylist said, try ode23 or ode45, but you did not mention the initial condition :
function dy=Myfunction(t,y) dy(1)=-(3-y(1)).*y(1);
In the workspace ( initial condition k=0.01 with time [0,,,,10]) :