Compute Jacobian of a function using Automatic Differentiation

6 views (last 30 days)
Evan Scope Crafts
Evan Scope Crafts on 5 Apr 2021
I have a vector valued function,, and would like to compute the jacobian of f using automatic differentiation. To accomplish this, my original idea was to use the deep learning toolbox and the built in 'dlgradient' function. However 'dlgradient' seems to only work with scalar valued functions. Is there a way to use automatic differentiation in Matlab to compute the Jacobian of a vector valued function?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by