Gradient_of_Backsla​sh

Computes gradient of f(x) = A(x) \ b(x). Used for optimization.

https://github.com/MatthewPeterKelly/Dynamics_Function_Gradient

You are now following this Submission

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 (2026). Gradient_of_Backslash (https://github.com/MatthewPeterKelly/Dynamics_Function_Gradient), GitHub. Retrieved .

Categories

Find more on Symbolic Math Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
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.