sign(Matrix) Function

Top 

Description

Computes the numeric sign of the specified value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

sign(

Matrix M)

 

 

Arguments

M


Description:

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

 

 

 

Return Value

Type:

Matrix of number

 

 

A matrix containing the numeric sign of each element of matrix M.

 

Syntax

myMatrix1 = sign(myMatrix2);

 

 

See also

sign