normalizing a symbolic expression?

7 visualizzazioni (ultimi 30 giorni)
Is there any corresponden in Symbolic Math Toolbox for Maple or Mupad function normal ? (normalizing a rational expression, write it with a single denominator, factored)

Risposta accettata

Walter Roberson
Walter Roberson il 21 Mar 2020
feval(symengine, 'normal', expression)
Otherwise,
[tnum, tden] = numden(expression)
simplify(tnum) / simplify(tden)
  3 Commenti
Radu Trimbitas
Radu Trimbitas il 27 Mar 2020
I found in documentation a function simplifyFraction, which seems to be satisfactory in several situations.
Thank you again, Walter Robertson!
Walter Roberson
Walter Roberson il 27 Mar 2020
I don't think I ever noticed that function!

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by