Updated 21 Feb 2016
Suppose that you have a function:
f(x) = A(x)\b(x)
You know the gradients of A and b with respect to x, but how to compute the gradient of f with respect to x?
This collection of files shows one way to solve this problem, while still vectorizing most of the calcualtion. This techinque is particularily useful for fast optimization of complicated systems.
The key file is computeGradientOfBackSlash.m, and the other files show how to use it.
Matthew Kelly (2022). Gradient_of_Backslash (https://github.com/MatthewPeterKelly/Dynamics_Function_Gradient), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!