maxabs

Calculate maximum absolute value of all entries in an array

Syntax

   d = maxabs(X)

Arguments

input

   X          an array

output

   d          maximum absolute value of all entries in X

Description

Returns the maximum absolute value d of all entries in X. NaN s are ignored.