I want to solve this piecewise ode with initial condition y(0)=0.
Let's hope the solution of this ODE never exceeds 3 and so the above ODE is well defined. (I expect the asymptotic limit of y(t) as to be 3)
I have tried ode23, ode45 and Runge-Kutta method but matlab doesn't show any plots nor doesn't give any errors . So at this moment I have no idea how to plot solution of this ode over a specific time period. I would appreciate any help.