abs(Matrix) Function

Top 

Description

Computes the absolute value of the specified value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

abs(

Matrix M)

 

 

Arguments

M


Description:

The matrix whose element-by-element absolute value will be returned.

 

 

 

Return Value

Type:

Matrix of number

 

 

A matrix containing the absolute value of each element of matrix M.

 

Syntax

myMatrix1 = abs(myMatrix2);

 

 

See also

abs