"Bravus " <bravus@gmail.com> wrote in message <kd4k2d$nsl$1@newscl01ah.mathworks.com>...
> .......
> [x,p]=ode45('MathieuDamped',[0 1000],[1,0],a,b,q);
> ......
- - - - - - - - - -
The fourth input argument to 'ode45' is their 'options' input that can be provided in conjunction with the 'odeset' function. Perhaps there is some error in the way you have set things up in this respect. The documentation states: "Options: Structure of optional parameters that change the default integration properties. This is the fourth input argument" and "You can create options using the odeset function. See odeset for details."
Roger Stafford
> .......
> [x,p]=ode45('MathieuDamped',[0 1000],[1,0],a,b,q);
> ......
- - - - - - - - - -
The fourth input argument to 'ode45' is their 'options' input that can be provided in conjunction with the 'odeset' function. Perhaps there is some error in the way you have set things up in this respect. The documentation states: "Options: Structure of optional parameters that change the default integration properties. This is the fourth input argument" and "You can create options using the odeset function. See odeset for details."
Roger Stafford