Can somebody please help me with a problem regarding fminsearch?
2 次查看(过去 30 天)
显示 更早的评论
I have a problem with the program attached and I get these errors:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/223562/image.png)
2 个评论
dpb
2019-6-7
erHandle = @(pars)(errorFun(pars ,[ccSym'; tn'; meanProb'; reactionLength]));
has a problem that not all of the elements in the square brackets have the same number of elements in their (transposed) columns so can't build the array.
Since we have no access to the data, we have no way to know what those dimensions are; you'll have to just check for consistency and fix whatever isn't.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!