Convert a vector to matrix
1. v2m ix:=col(1) method:=v2row index:=3 om:=[Mbook1]1!1;
2. v2m ix:=col(1) method:=v2m direction:=col om:=[Mbook1]1!1;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input | ix |
Input vector |
|
Specifies the input vector. |
Method | method |
Input int |
|
Specifies the method to convert the vector
|
Index | index |
Input int |
|
This variable is available only when the method variable is set to either Copy Vector to a Column of Matrix or Copy Vector to a Row of Matrix. It specifies the index of the column/row which the input vector will be copied to. |
Direction | direction |
Input int |
|
This variable is available only when the method variable is set to Copy Vector to Whole Matrix. It specifies the direction for filling the matrix elements.
|
Output Matrix | om |
Output MatrixObject |
|
Specifies the output matrix, which will be filled with the vector elements. See the syntax here. |
This function converts a vector to matrix.