The Falling Rabbit Problem in Matlab
Dr. Dan Warner First we must build the differential equation function. We'll call it wabbit and save it as a .m file:
Then we construct the list of results obtained from running the program ode23 -- which estimates the solution to our differential equation using the popular numerical technique Runge Kutta 23. Notice that we produce a graph of the output as well:
Last update on: June 1, 1998 Please direct questions and comments about this page to [email protected] © Copyright 1998 The Shodor Education Foundation, Inc. |