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?

采纳的回答

Walter Roberson
Walter Roberson 2019-2-22
That error would happen if your objective function returns a non-scalar.

更多回答(0 个)

类别

Help CenterFile 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!

Translated by