I don't know how that problem can be formulated for quadprog. However, it is simple to formulate it for fmincon. For help, check the documentation:
- Write scalar objective function
- Maximize instead of minimize
- Linear constraints
- Lower bound constraints
Alan Weiss
MATLAB mathematical toolbox documentation
