Date: Jan 28, 2013 10:17 AM
Author: Steven Lord
Subject: Re: Inverse Using Function Handle !!!!



"Waleed Mirza" <waleed.mirza@hotmail.com> wrote in message
news:ke3k1r$9ef$1@newscl01ah.mathworks.com...
> Hi,
>
> I have been trying alot to take inverse of a function handle using
> "finverse" but I am unsuccessful
>
> Its working with f(x) syntax but not with function handles
>

>>> syms x
>>> fh=@(x)(x.^2-9);
>>> f(x) = x^2-9;

>
>>> g= finverse(f)
>
> g(x) =
>
> (x + 9)^(1/2)
>

>>> g= finverse(fh)
> Undefined function 'finverse' for input arguments of type
> 'function_handle'.
>
> PLEASE Anybody Help


The FINVERSE function is ONLY defined for symbolic objects. It will NOT work
with general function handles.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com