Solve long algebraic equations
2 views (last 30 days)
Show older comments
Can matlab give answer to a long algebraic equation? if yes, how?
Thanks!
0 Comments
Answers (1)
Walter Roberson
on 30 Apr 2012
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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!