ODE to state space
조회 수: 10 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
Star Strider
2016년 5월 23일
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.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!