Respuestas (1)

Alan Weiss
Alan Weiss el 1 de Mzo. de 2021

1 voto

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

Respondida:

el 1 de Mzo. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by