15.11.2014 Views

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Polynomials and Interpolation<br />

for – 2π ≤ x 1 ≤ 0 , 2π ≤ x 2 ≤ 4π , and 0 ≤ x 3 ≤ 2π . To evaluate and plot this<br />

function,<br />

x1 = -2:0.2:2;<br />

x2 = -2:0.25:2;<br />

x3 = -2:0.16:2;<br />

[X1,X2,X3] = ndgrid(x1,x2,x3);<br />

z = X2.*exp(-X1.^2 -X2.^2 -X3.^2);<br />

slice(X2,X1,X3,z,[-1.2 0.8 2],2,[-2 0.2])<br />

2<br />

1<br />

0<br />

−1<br />

−2<br />

2<br />

1<br />

0<br />

−1<br />

−2<br />

−2<br />

−1<br />

0<br />

1<br />

2<br />

Triangulation and Interpolation <strong>of</strong> Scattered Data<br />

<strong>MATLAB</strong> provides routines that aid in the analysis <strong>of</strong> closest-point problems<br />

and geometric analysis.<br />

Functions for Analysis <strong>of</strong> Closest-Point Problems and Geometric Analysis<br />

Function<br />

convhull<br />

delaunay<br />

Description<br />

Convex hull.<br />

Delaunay triangulation.<br />

2-18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!