Creating an ODE Function in Matlab

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?

Preguntada:

el 26 de Feb. de 2015

Respondida:

el 26 de Feb. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by