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 commentaire

MA
MA le 18 Nov 2014
you should have one another equation for x(t) like dx/dt=...

Réponses (0)

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by