|
1234567891011121314 |
- % Define environment (functions, gradients etc...)
- GivenEnv
-
- %
- % We plot the function in the domain of x,y in [-3, 3].
- % We also plot the contour in order to get a sense of the min and maximum
- % points in the x-y plane
- %
-
- % 3d plot the function
- plot3dFun(fun, XSetLimmits(1, :), XSetLimmits(2, :), 100, title_fun, "figures/Plot_Function.png");
-
- % Plot isobaric lines
- plotContour(fun, XSetLimmits(1, :), XSetLimmits(2, :), 100, title_fun, "figures/Plot_Contour.png");
|