How can i use fmincon for multiple variables?

Hi, i'm trying to write an optimization problem using the function 'fmincon'. My objective function is like this and i need to obtimize it over two variables for M=4. C is constant.
First i m not sure how to apply this over fmincon. But my real problem is that minimization is over two variables. How can i write them in fmincon?
Thanks for any answers

1 commentaire

HADJAR Achour
HADJAR Achour le 14 Mar 2017
hi I fount the same problem as the yours, did you find an answer to your quastion? thank you

Connectez-vous pour commenter.

Réponses (2)

Alan Weiss
Alan Weiss le 27 Nov 2013

0 votes

Alan Weiss
MATLAB mathematical toolbox documentation
HADJAR Achour
HADJAR Achour le 14 Mar 2017

0 votes

hi I fount the same problem as the yours, did you find an answer to your quastion? thank you

Community Treasure Hunt

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

Start Hunting!

Translated by