ODE to state space

6 Ansichten (letzte 30 Tage)
M Gokul
M Gokul am 23 Mai 2016
Beantwortet: Star Strider am 23 Mai 2016
i have a set of 7 odes(7 state variables,5inputs).Is der any way to convert this to state space model or transfer func model in MATLAB?

Akzeptierte Antwort

Star Strider
Star Strider am 23 Mai 2016
If they are symbolic, likely the best you can do is to use the odeToVectorField function, and then matlabFunction. This will produce a ‘companion-form’ matrix that you can use as your ‘A’ matrix (in an A B C D state-space representation).
Unless your ODEs are linear with constant coefficients, you cannot produce a linear matrix representation, and will have to use numerical integration.

Weitere Antworten (0)

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by