# Thread Subject: method of steps for DDEs

 Subject: method of steps for DDEs From: Sanaa Date: 8 May, 2012 16:18:09 Message: 1 of 4 Hi, I need help with implementing a delay differential equation in Matlab to plot its bifurcation diagram. I use method of steps, however, I couldn't find any example on the internet on how to implement the method in Matlab. Is there any website which provides good example? Thanks a lot in advance.
 Subject: method of steps for DDEs From: Nasser M. Abbasi Date: 8 May, 2012 16:21:52 Message: 2 of 4 On 5/8/2012 11:18 AM, Sanaa wrote: > Hi, > I need help with implementing a delay differential equation in Matlab to Matlab some some functions like "Solve delay differential equations (DDEs) with constant delays" http://www.mathworks.com/help/techdoc/ref/dde23.html may be this can help.
 Subject: method of steps for DDEs From: Sanaa Date: 8 May, 2012 18:59:08 Message: 3 of 4 Thanks a lot for help. I am having another question if you please; how to integrate a function within a loop? for example I am having a system of two discrete maps y(i+1)= r*x(i)*(1-x(i)); x(i+1)= x(i)+ int('y(i+1)',n*r,t) ; where n, r and t are given. I loop over n but I want the time t to be in the interval [n*r,(n+1)*r] Any idea please?
 Subject: method of steps for DDEs From: Nasser M. Abbasi Date: 8 May, 2012 19:22:10 Message: 4 of 4 On 5/8/2012 1:59 PM, Sanaa wrote: > Thanks a lot for help. I am having another question if you please; >how to integrate a function within a loop? > for example I am having a system of two discrete maps > > y(i+1)= r*x(i)*(1-x(i)); > x(i+1)= x(i)+ int('y(i+1)',n*r,t) ; > where n, r and t are given. > I loop over n but I want the time t to be in the interval [n*r,(n+1)*r] > Any idea please? int works on a function of some independent variable like y(t) and you integrate over some range of t. I do not understand what int('y(i+1)',n*r,t) is supposed to mean, sorry. You seem to be mixing symbolic stuff, arrays of numerical stuff. too complicated for me. --Nasser

Separated by commas
Ex.: root locus, bode

### What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.