Simplify expression with exponential function.

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?

 採用された回答

Stefan Wehmeier
Stefan Wehmeier 2015 年 5 月 27 日

2 投票

Use exp(sym(1))

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by