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)

 Accepted Answer

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

3 Comments

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!

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!