Réponses (1)

Alan Weiss
Alan Weiss le 1 Mar 2021

1 vote

This looks like a linear programming problem to me. Use linprog, not fmincon.
Or even better, use the problem-based approach.
Alan Weiss
MATLAB mathematical toolbox documentation

Community Treasure Hunt

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

Start Hunting!

Translated by