Plot system of equations
Afficher commentaires plus anciens

Please, I need help with plotting a graph of this equatiion systems
Réponses (1)
Bjorn Gustavsson
le 4 Mar 2020
Modifié(e) : Bjorn Gustavsson
le 4 Mar 2020
1 vote
Take it step-by-step.
Take pen and paper. Plot a cartesian coordinate system with x1 and x2 at the axes.
For 1.6 you have 2 linear constraints. Plot the lines of their boundary, sketch in the regions
where they are satisfied. That gives you the allowed region for your optimization. Calculate
the gradient of your function F, plot that arrow (since it is a linear function in x1 and x2). Plot that
arrow on the graph.
For 1.7 do the same. Step by-step. Here there will be another couple of steps since you have
additional constraints.
For doing this with matlab: have a look at pcolor, double and meshgrid.
HTH
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!