Info
This question is closed. Reopen it to edit or answer.
Help with Basic Definition of Systems in MATLAB
1 view (last 30 days)
Show older comments
I am trying to use ode45 to solve a second order differential equation mu''+cu'+ku=Asin(2pift) where prime is a derivateive with respect to time, and I know that I can convert it into a system of first order equations, but I don't understand how such a system is supposed to be represented in MATLAB syntax and passed into ode45 as a single function handle input. I would appreciate some help on what the code looks like for a second order differential equation converted into a system of first order differential equations.
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!