Products & Services Solutions Academia Support User Community Company

Learn more about Symbolic Math Toolbox   

finverse - Functional inverse

Syntax

g = finverse(f)
g = finverse(f,v)

Description

g = finverse(f) returns the functional inverse of f. f is a scalar sym representing a function of one symbolic variable, say x. Then g is a scalar sym that satisfies g(f(x)) = x. That is, finverse(f) returns f–1, provided f–1 exists.

g = finverse(f,v) uses the symbolic variable v, where v is a sym, as the independent variable. Then g is a scalar sym that satisfies g(f(v)) = v. Use this form when f contains more than one symbolic variable.

Examples

Compute functional inverse for the trigonometric function:

syms x u v;
finverse(1/tan(x))

The result is:

ans =
atan(1/x)

Compute functional inverse for the exponent function:

finverse(exp(u - 2*v), u)

The result is:

ans =
2*v + log(u)

See Also

compose, syms

  


Free Symbolic Math Interactive Kit

See how symbolic computations can help you find analytical solutions to math and engineering problems.

Get free kit

Trials Available

Try the latest version of symbolic math products.

Get trial software
 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS