use of fmincon to minimize a sum of a function
Show older comments
Please can you hepl me to write a code MATLAB to minimize the sum of a function? the prblem is constrained non linear.
1 Comment
Andrew Newell
on 23 Feb 2012
You need to provide more detail.
Answers (1)
Sean de Wolski
on 23 Feb 2012
0 votes
Wrap sum() around your function before passing it to fmincon(). If you want more detailed help, please provide mroe detail.
Categories
Find more on Systems of Nonlinear Equations 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!