Can somebody please help me with a problem regarding fminsearch?
1 view (last 30 days)
Show older comments
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 Comments
dpb
on 7 Jun 2019
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.
Answers (0)
See Also
Categories
Find more on Problem-Based Optimization Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!