To perform ode for the equation

I want to perform ode for the equation given by,
dy/dt = y+ xy , with initial condition x(0)=0 and y(0)=1 and I want to find y(0.5) ie)tspan=[0 0.5]
how can I perform this in matlab using ode45.
Please anybody help me in this regard.

1 Comment

you should have one another equation for x(t) like dx/dt=...

Answers (0)

This question is closed.

Asked:

on 18 Nov 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!