does anybody know how to change the timestep in matlab while using the ode45 solver ??

Do you want to change the internal machinations of the ode45 solver, or do you just want to look at the results of the ode45 solver at particularly-intervaled timesteps? If the former, the answer seems to be no.

http://www.mathworks.com/support/tech-notes/1500/1503.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.