How can I fix these error in my optimization code.
3 views (last 30 days)
Show older comments
Error using optim.internal.problemdef.MatrixOperator Inner matrix dimensions must agree.
Error in optim.internal.problemdef.Mtimes
Error in *
Error in Untitled2 (line 29) usernc = (sum(sum(rf*r)) + sum(sum(lght*l)) + sum(sum(wmh*wm)) + sum(sum(evs*ev)) + sum(sum(dwh*dw)));
0 Comments
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!