MATLAB符号运算​不能化简(即log(​exp(x))不能继​续化简)。

4 views (last 30 days)
MATLAB中 log函数指以自然对数e为底的对数运算,而exp顾名思义就是指数运算,现在在MATALB中做符号运算,设x为一符号变量,首先测试exp(log(x)),完全OK,会得到x,但是奇怪的是输入log(exp(x))后得到的仍然是log(exp(x)),而不是x,有点令人费解,有人知道是咋回事么。这难道是因为MATLAB本来就是这么样定义的?

Accepted Answer

华纳公司客服【微8785092】
syms h t real
就能把h和t定义成实数域的符号变量了

More Answers (0)

Categories

Find more on 数学 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!