Creating an ODE Function in Matlab

2 views (last 30 days)
Phil
Phil on 26 Feb 2015
Answered: Torsten on 26 Feb 2015
The function I want to try to model is
dx/dt = y(t)
dy/dt = x(t-6), where x(t-6) refers to the value of x for t-6, not x*(t-6).
How would I go about writing the second part in a function?

Answers (1)

Torsten
Torsten on 26 Feb 2015

Community Treasure Hunt

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

Start Hunting!