https://ch.mathworks.com/help/symbolic/sym.odetovectorfield.html
odeToVectorField - Reduce order of differential equations to first-order - MATLAB
This MATLAB function converts higher-order differential equations eqn1,...,eqnN to a system of first-order differential equations, returned as a symbolic...
differential equationsreduceorderfirstmatlab