Plot system of equations
이전 댓글 표시

Please, I need help with plotting a graph of this equatiion systems
답변 (1개)
Bjorn Gustavsson
2020년 3월 4일
편집: Bjorn Gustavsson
2020년 3월 4일
1 개 추천
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
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!