How to insert the parameter constants as an input in ODE solver?

Normally, ODE solver will have 4 main inputs: (1) ODEs function, (2) initial conditions, (3), time span, and (4) options as [t,y] = solver(odefun,tspan,y0,options).
I am wondering whether it is possible to insert the parameter constants of the ODEs as an input in the ODE solver?
Thanks.

Answers (0)

Tags

Asked:

on 20 Feb 2014

Community Treasure Hunt

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

Start Hunting!