vmatrix creates a variant matrix. Each element is set to zero.
Return Value
vm is a variant matrix with the element values to to zero.
Parameters
nr is the number of rows.
nc is the number of columns.
rvRowCol is a vector with two elements. The first element contains the number of rows and the second element the number of columns.
Example
v1 = vmatrix(5, 1);
a = rand(2,3);
v2 = vmatrix(size(a))
History
| Version | Description |
|---|---|
| 5.30 | New. |
See also
id-445130