use of fmincon to minimize a sum of a function

Please can you hepl me to write a code MATLAB to minimize the sum of a function? the prblem is constrained non linear.

Answers (1)

Wrap sum() around your function before passing it to fmincon(). If you want more detailed help, please provide mroe detail.

Categories

Asked:

on 23 Feb 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!