Matrix.Zero(Variable, Variable) Method

Top 

Description

A matrix filled with zeros.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

Matrix.Zero(

Variable numRows,


Variable numColumns)

 

 

Arguments

numRows


Description:

The number of rows in the matrix.

Valid Range:

numRows ≥ 1

 

 

numColumns


Description:

The number of columns in the matrix.

Valid Range:

numColumns ≥ 1

 

 

 

Return Value

Type:

Matrix of number

 

 

Returns a matrix of size numRows by numColumns filled with zeros.

 

Syntax

myMatrix1 = Matrix.Zero(myVariable1, myVariable2);

 

 

See also

Matrix Object

Matrix, Array, and Variable Math Guide