Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

abs (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the basic class.

Syntax

c = abs(a)

Description

Computes the absolute values of the input elements. The absolute value of a complex number is equal to its magnitude, or the square root of the product of the number and its complex conjugate.

Examples

Inputs

Name Description
a Specifies a matrix.

Outputs

Name Description
c Returns the absolute values of the elements in a. c is a real matrix of the same size as a.

Examples

A = [1.3+2i, 4.2-3.7i; -2.9-1.6i, -5]
C = abs(A)

Related Topics

angle
unwrap


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit