Simplify expression with exponential function.

6 views (last 30 days)
Consider the following minimal example:
syms x
simplify(x/exp(1))
This returns
(1125899906842624*x)/3060513257434037
Is there a way to use the Matlab simplify function, but where it keeps the exact symbolic version of the exponential?

Accepted Answer

Stefan Wehmeier
Stefan Wehmeier on 27 May 2015
Use exp(sym(1))

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!