normalizing a symbolic expression?

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

feval(symengine, 'normal', expression)
Otherwise,
[tnum, tden] = numden(expression)
simplify(tnum) / simplify(tden)

3 Commenti

Thanks!
I found in documentation a function simplifyFraction, which seems to be satisfactory in several situations.
Thank you again, Walter Robertson!
I don't think I ever noticed that function!

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by