How to write this expression in MatLab

 采纳的回答

x * exp(log(2^x)) = 1

3 个评论

should't this (log(2^x)) be raised in power to the exp
exp already means power, e^x is exp(x). matlab will even simplify this for you.
@MARTINS Preimanis: Whenever you have such questions, there are two standard ways:
  1. Ask Matlab: doc exp
  2. Try it: exp(2)

请先登录,再进行评论。

更多回答(1 个)

Yongjian Feng
Yongjian Feng 2021-12-7
编辑:Yongjian Feng 2021-12-7
e^x is exp(x) in matlab, and lnx is log(x).

类别

帮助中心File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

产品

版本

R2018a

标签

Community Treasure Hunt

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

Start Hunting!

Translated by