フィルターのクリア

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
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
  1 件のコメント
Xiaolei Du
Xiaolei Du 2017 年 5 月 15 日
Thanks for your answers! When n is small,it is a not bad solution,however, when n is large,it will spend so much time, I need to get iteration solution, it may not be a good ideal, and function matlabFunction can convert it to a function handles, but it runs so much time. Best wish to you!

サインインしてコメントする。

カテゴリ

Help Center および File Exchange求解器输出和迭代输出 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!