필터 지우기
필터 지우기

Symbolically eliminating variables from a set of 1st order ODEs to obtain a single higher order ODE

조회 수: 3 (최근 30일)
I wonder if it is possible in MATLAB to symbolically eliminate variables from a set of first order ODEs in order to obtain a higher-order ODE for a single variable. So not actually solving for the variable, but just constructing the single equation.
For example, take the simple serial RLC circuit connected to a voltage source. One could write a set of equations like this:
When eliminating variables from the set of these equations, one could write a single 2nd order differential equation for a selected variable, e.g.:
So is it possible to come to this final equation directly using MATLAB from the set of the equations written above?
Thank you!
  댓글 수: 1
David Goodmanson
David Goodmanson 2020년 7월 22일
Hi LIpa,
In a set of linear equations (fixed R,L,C, op amp gain, etc.) the answer is yes, although the answers get increasingly complicated. In that case you can replace each nth derivative with (iw)^n or(jw)^n depending on your background, then come up with a large polynomial, then take all the resulting (iw)^n back to derivatives. That is doable, but with, say, the Lagrange equations for several variables in spherical coordinates, reducing the equation to a high order differential equation in one variable quickly leads to a total morass. It's not worth it. Anyway, if you want to solve the equations, the practical method is in the other direction, to convert all the higher order equatiions down to a set of first order differential equations.

댓글을 달려면 로그인하십시오.

답변 (1개)

Ahmed Rehan
Ahmed Rehan 2020년 7월 22일
It seems doable using Laplace transform. But the final equation might need to be converted back using symbolic conversions.

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by