title: Implementing Objective Function in matlab
body: <p>I am trying to implement Objective function in Matlab.
  <a href="https://i.stack.imgur.com/yOP78.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yOP78.png" alt="enter image description here"></a></p>
  
  <p>Here a,b,c are constants, D_k and E_k are uniformly distributed vectors between 0 to 1. P_k is a constant vector. E_k is decision variable. The objective is to maximize subject to E_k  value between [0.0001, 1]. I am trying to use fmincon but being new to matlab optimization, I am unable get it right. I shall appreciate any help.</p>