How to create a function with a large number of variables, and get its gradient and Jacobian matrix,like following
2 views (last 30 days)
Show older comments
Answers (1)
Alan Weiss
on 14 May 2017
If you have a Symbolic Math Toolbox license, you can work along the lines of this example. Or of this example, which uses files rather than function handles.
Alan Weiss
MATLAB mathematical toolbox documentation
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!