Simplify expression with exponential function.

2 vues (au cours des 30 derniers jours)
Henrik Dam
Henrik Dam le 24 Mai 2015
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?

Réponse acceptée

Stefan Wehmeier
Stefan Wehmeier le 27 Mai 2015
Use exp(sym(1))

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by