23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

1<br />

0.5<br />

0<br />

−0.5<br />

−1<br />

15<br />

delaunay<br />

Next, generate peaks data as a 15-by-15 matrix, and use that data with the<br />

Delaunay triangulation to produce a surface in 3-D space.<br />

z = peaks(15);<br />

trisurf(tri,x,y,z)<br />

10<br />

5<br />

0<br />

−5<br />

−10<br />

15<br />

10<br />

10<br />

5<br />

5<br />

0<br />

0<br />

0<br />

0<br />

5<br />

5<br />

10<br />

10<br />

15<br />

15<br />

2-419

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

Saved successfully!

Ooh no, something went wrong!