Analysis: Mathematics: Matrix Surface Area
Calculate matrix surface area
This feature is for OriginPro only, 8.1 SR0 or later versions.
marea im:=[mbook1] missing:=1 area:=area;
Please refer to the page for additional option switches when accessing the x-function from script
Input
MatrixObject
int
Output
double
This X-Function is used to calculate the area of the matrix surface. You can specify a variable for the result area as well as whether or not to interpolate for the missing value. Also, the result area will be always put to the Results Log Window automatically.
This example is going to calculate the area of the active matrix.
xyzarea -d;
In three dimensions Cartesian space, the area of a general triangle is
To calculate the area of a matrix surface, the matrix surface is divided into many sub-triangles like below. The the area of the matrix surface is the sum of all the area of its sub-triangles.
The steps as follow are for calculating the area of matrix surface with boundary.
xyzarea