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.

Interpolation<br />

Delaunay Tessellations<br />

A Delaunay tessellation is a set <strong>of</strong> simplices with the property that, for each<br />

simplex, the unique sphere circumscribed about the simplex contains no data<br />

points. In two-dimensional space, a simplex is a triangle. In three-dimensional<br />

space, a simplex is a tetrahedron.<br />

Computing a Delaunay Tessellation. The delaunayn function returns the indices <strong>of</strong><br />

the points in a data set that comprise the simplices <strong>of</strong> an n-dimensional<br />

Delaunay tessellation <strong>of</strong> the data set.<br />

This example uses the same X as in the convex hull example, i.e. the 8 corner<br />

points <strong>of</strong> a cube, with the addition <strong>of</strong> a center point:<br />

d = [-1 1];<br />

[x,y,z] = meshgrid(d,d,d);<br />

X = [x(:),y(:),z(:)]; % 8 corner points <strong>of</strong> a cube<br />

X(9,:) = [0 0 0]; % Add center to the vertex list.<br />

T = delaunayn(X) % Generate Delaunay tessellation.<br />

2-29

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

Saved successfully!

Ooh no, something went wrong!