<< interp1 | Special functions | primes >> |
Z = peaks() |
Z = peaks(n) |
Z = peaks(Xi, Yi) |
[X, Y, Z] = peaks() |
[X, Y, Z] = peaks(n) |
[X, Y, Z] = peaks(Xi, Yi) |
Value representing 2-D grid: scalar or vector.
x-coordinates of points.
y-coordinates of points.
x-coordinates of points.
y-coordinates of points.
z-coordinates of points.
peaks function has the form:
f(x, y) = 3*(1-x)^2*exp(-x^2 - (y+1)^2) - 10*(x/5 - x^3 - y^5)*exp(-x^2-y^2) - 1/3*exp(-(x+1)^2 - y^2)
x = -2:0.5:2;
y = 1:0.2:2;
[X, Y] = meshgrid(x, y);
Z = peaks(X, Y)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET