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

2 ビュー (過去 30 日間)
Lipa
Lipa 2020 年 7 月 22 日
回答済み: Ahmed Rehan 2020 年 7 月 22 日
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 Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by