Removing exponents from a sysm class term
Ältere Kommentare anzeigen
I am interested in removing the exponents from a syms class object. For instance, i wish the following expression,
answer = x^2 + y^2*z^2
to instead take the form of,
answer = x + y*z
I was wondering if there was a shorter way to do this other than writing my own muPad procedure.
Thanks in advance.
Ross Montgomery
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 30 Okt. 2012
0 Stimmen
You might be able to do something using MuPad's map() and match(); http://www.mathworks.com/help/symbolic/mupad_ref/match.html
Side note: Extended Symbolic Math Toolbox only applied to the Maple-based Symbolic Toolbox which predated the MuPAD based Symbolic Math Toolbox.
1 Kommentar
ross montgomery
am 31 Okt. 2012
Kategorien
Mehr zu Utilities for the Solver finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!