How to find the solution of a given optimization problem?

How to find the minmax of a function
ex:
f= min max f(p,n) such that 0<p<12 and 0<n<5,
lets say,
f= min max 1/2*log2(P/(alpha*P+err*(nvar+N)) where err and alpha are the constants
equation satisfies the given constraints as shown above.
Can I use fmincon of -f and then do fmincon f to get the answer? Is there any possible way to write a single line command to get the result?

Answers (1)

Asked:

on 7 Dec 2020

Answered:

on 29 Dec 2020

Community Treasure Hunt

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

Start Hunting!