MATLAB Answers

0

A complicated piecewise ODE

Asked by Mohammad Daneshvar on 18 May 2019
Latest activity Commented on by madhan ravi
on 18 May 2019
Hello
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.

  1 Comment

Upload your code.

Sign in to comment.

0 Answers