Computing the inverse of function in MATLAB

后端 未结 3 1041
被撕碎了的回忆
被撕碎了的回忆 2021-02-10 17:02

How do you compute the inverse of a function in MATLAB? Say you want to compute the inverse of f(x)=e^x, what would be the code?

3条回答
  •  无人共我
    2021-02-10 17:43

    you can use finverse from the symbolic math toolbox http://www.mathworks.com/help/symbolic/finverse.html but for your example you can just do ln()?

提交回复
热议问题