Compute facets of a 3D surface
[xx,yy,zz]=genfac3d(x,y,z,[mask])
matrices of size (4,n-1xm-1). xx(:,i)
,yy(:,i)
and zz(:,i)
are respectively the x-axis, y-axis and z-axis coordinates of the 4 points of the ith four sided facet.
x-axis coordinates vector of size m.
y-axis coordinates vector of size n.
matrix of size (m,n). z(i,j)
is the value of the surface at the point (x(i),y(j)).
boolean optional matrix with same size as z
used to select the entries of z
to be represented by facets.
genfac3d
computes a four sided facets representation of a 3D surface
z=f(x,y)
defined by x
, y
and z
.