フィルターのクリア

Solve long algebraic equations

2 ビュー (過去 30 日間)
Leon
Leon 2012 年 4 月 30 日
Can matlab give answer to a long algebraic equation? if yes, how?
Thanks!

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 4 月 30 日
If you have the Symbolic Toolbox, you can try to use solve().
All versions of the Symbolic Toolbox have been able to solve quadratic equations (as far as I know.) In the MATLAB versions new enough to use the MuPAD symbolic engine (about R2008b on) up to about R2010a, a sufficiently complicated cubic or quartic might not have its solution found. R2010b onwards appears to do better on root finding. As per usual, any degree past 4 could be irreducible.
If you are trying to solve transcendental equations (e.g., logs, trig) then the majority of the time there simply is no analytic solution known to mathematics, but solve() will try

Community Treasure Hunt

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

Start Hunting!

Translated by