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?
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()?