Clear Filters
Clear Filters

Can somebody please help me with a problem regarding fminsearch?

2 views (last 30 days)
I have a problem with the program attached and I get these errors:
  2 Comments
dpb
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.

Sign in to comment.

Answers (0)

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!