How to create a function with a large number of variables, and get its gradient and Jacobian matrix,like following
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164032/image.png)
0 commentaires
Réponses (1)
Alan Weiss
le 14 Mai 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
Voir également
Catégories
En savoir plus sur 求解器输出和迭代输出 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!