I am trying to write a program in matlab to find Jaobian for any test function. As an example I am trying on Rosenbrock function and ,I think there is a minor error in the way I am defining the jacobian.
I highly appreciate if you would have a look at my Jacobian algorithm and let me know how I...