I have the following function handle
fun = @(x,y,z)[x.^3+y.^2+z.^2,x.^2-y.^3+sin(z)]
And now I am using the function
which returns the jacobian of the function. To use this function I first need to define
syms x y z.
If the function changes to
the jacobian is returned by
Now I don't want to change the second input argument of the jacobian manually. Is there a function in Matlab, that looks at the function handles and returns them, or returns how many there are?