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