How to find inverse of a self-written function in matlab?
2 views (last 30 days)
Show older comments
I want to input x = acosh(2/h) - sqrt(4-h^2) and I require its inverse in the form, h = f(x).
0 Comments
Answers (1)
Rik
on 22 Feb 2018
syms h
x(h) = acosh(2/h) - sqrt(4-h^2);
g = finverse(x);
Unfortunately, this results in a warning that Matlab is unable to find the functional inverse. Wolfram Alpha can't do it either.
So unless and until someone shows that it does, I'm going to assume a functional inverse of your function does not exist.
1 Comment
Torsten
on 22 Feb 2018
The function has an inverse for x in (0,2], but it can't be expressed in closed form, I guess.
Best wishes
Torsten.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!