sign(Array) Function

Top 

Description

Computes the numeric sign of the specified value.

 

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.

 

Function Signature

sign(

Array A)

 

 

Arguments

A


Description:

The array whose element-by-element numeric sign will be returned.

 

 

 

Return Value

Type:

Array of number

 

 

An array containing the numeric sign of each element of array A.

 

Syntax

myArray1 = sign(myArray2);

 

 

See also

sign