How can I fix these error in my optimization code.
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)));
Answers (0)
Categories
Find more on Get Started with Optimization Toolbox 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!