How to create a function with a large number of variables, and get its gradient and Jacobian matrix,like following
2 ビュー (過去 30 日間)
古いコメントを表示
回答 (1 件)
Alan Weiss
2017 年 5 月 14 日
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
参考
カテゴリ
Help Center および File Exchange で 求解器输出和迭代输出 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!