Optimizing nonlinear functions with size variant input arguments
1 回表示 (過去 30 日間)
古いコメントを表示
I am trying to use the fminsearch() function to create the optimization and I am getting the following error: "Assignment has more non-singleton rhs dimensions than non-singleton subscripts". Does anyone know what could be causing such an error?
0 件のコメント
採用された回答
Walter Roberson
2019 年 2 月 22 日
That error would happen if your objective function returns a non-scalar.
2 件のコメント
Matt J
2019 年 2 月 22 日
You should Accept-click Walter's answer to certify that it solved your problem.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with Optimization Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!