Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

To perform ode for the equation

1 vue (au cours des 30 derniers jours)
vetri veeran
vetri veeran le 18 Nov 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
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)

Community Treasure Hunt

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

Start Hunting!

Translated by