2.2.2.4 mexpand
Contents
Menu Information
Matrix: Expand
Brief Information
Expand matrix by scaling in X and Y directions
Command Line Usage
1. mexpand
2. mexpand im:=MSheet cols:=2 rows:=2
3. mexpand im:=[MBook]MSheet cols:=2 rows:=3 om:=MySheet
X-Function Execution Options
Please refer to the page for additional option switches when accessing the x-function from script
Variables
| Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
|---|---|---|---|---|
| Input Matrix | im |
Input MatrixObject |
|
Specifies the input matrix to be expanded. |
| Col Factor | cols |
Input int |
|
Specifies a factor to increase the number of columns. For example, if Col Factor is 2, the number of columns in the output matrix will be twice the number of columns in the input matrix. |
| Row Factor | rows |
Input int |
|
Specifies a factor to increase the number of rows. For example, if Row Factor is 2, the number of rows in the output matrix will be twice the number of rows in the input matrix. |
| Output Matrix | om |
Output MatrixObject |
|
Specifies the output matrix. See the syntax here. |
Description
This X-Function expands the input matrix. Biquadratic interpolation is used to calculate the values for the new cells.
Related X-Functions
Keywords:biquadratic, interpolation