Good Day Sir/Ma'am. May i ask what is the meaning of ode45 here and @dfunc? --------> [t,x] = ode45(@dfunc, tspan, x0);

3 views (last 30 days)
Thank you very. Hoping for response.

Accepted Answer

James Tursa
James Tursa on 21 Mar 2018
Edited: James Tursa on 21 Mar 2018
ode45 is a numerical integration routine
doc ode45
@dfunc is a function handle that points to a function called dfunc. This function takes two inputs, time and current state vector, and outputs the derivative of the state vector at that particular time.
doc function_handle

More Answers (1)

Mark Alison
Mark Alison on 23 Mar 2018
I am about to ask such matter.

Tags

Community Treasure Hunt

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

Start Hunting!