Gradient_of_Backsla​sh

Computes gradient of f(x) = A(x) \ b(x). Used for optimization.
62 Downloads
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.

Cite As

Matthew Kelly (2024). Gradient_of_Backslash (https://github.com/MatthewPeterKelly/Dynamics_Function_Gradient), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Symbolic Math Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.2.0.0

title change

1.1.0.0

Name change

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.