imat_fn/abs


Purpose

Take absolute value (or modulus) of ordinate.

Syntax

g=abs(f)

Description

This function replaces all ordinate values of f with their absolute value (if f is real-valued) or modulus (if f is complex-valued).  If f is complex-valued, its OrdinateType attribute will be tagged as real.

See Also

imat_fn/real, imat_fn/imag, imat_fn/phase, imat_fn/phased