(matlab) Get the derivative of a function_hanlde
Is it possible to get the derivative of a **function_handle** as a other **function_handle**?

Like:

      fun1 = @(x) x^2;
      % do that ...
      disp(fun2);
        @(x) x*2

I know how to find the derivative of a symbolic function but I can't convert a function_handle to a symbolic function.

I'm new to matlab and I couldn't find any way on doing that. Thanks in advance.
(matlab) Get the derivative of a function_hanlde
===

Is it possible to get the derivative of a **function_handle** as a other **function_handle**?

Like:

      fun1 = @(x) x^2;
      % do that ...
      disp(fun2);
        @(x) x*2

I know how to find the derivative of a symbolic function but I can't convert a function_handle to a symbolic function.

I'm new to matlab and I couldn't find any way on doing that. Thanks in advance.