normalizing a symbolic expression?

21 views (last 30 days)
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)

Accepted Answer

Walter Roberson
Walter Roberson on 21 Mar 2020
feval(symengine, 'normal', expression)
Otherwise,
[tnum, tden] = numden(expression)
simplify(tnum) / simplify(tden)
  3 Comments
Radu Trimbitas
Radu Trimbitas on 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 on 27 Mar 2020
I don't think I ever noticed that function!

Sign in to comment.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!