This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
gibson:teaching:fall-2013:math445:hw5 [2013/11/14 12:57] gibson |
gibson:teaching:fall-2013:math445:hw5 [2013/11/14 12:58] (current) gibson |
||
---|---|---|---|
Line 32: | Line 32: | ||
**Problem 4:** Make a 3d plot of $f$ versus $x,y$ for the function $f(x,y) = 3 e^{-(x^2/2 + xy + 2 y^2)}$ | **Problem 4:** Make a 3d plot of $f$ versus $x,y$ for the function $f(x,y) = 3 e^{-(x^2/2 + xy + 2 y^2)}$ | ||
- | for $-3 \le x \le $ and $-3 \le y \le $. Use Matlab's ''meshgrid'' function. | + | for $-3 \le x \le $ and $-3 \le y \le 3$, on a mesh with $Delta x = \Delta y = 0.1$. Use Matlab's ''meshgrid'' function. |