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

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

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the trigonometric class.

Syntax

c = atan2(z)

c = atan2(y, x)

Description

Computes the four-quadrant inverse tangent, in radians, of the input elements.

Examples

Inputs

Name Description
z Specifies a real or complex matrix. atan2(z) is equivalent to atan2(real(z), imag(z)).
y Specifies a real or complex matrix.
x Specifies a real or complex matrix. x must be the same size as y.

Outputs

Name Description
c Returns the four-quadrant inverse tangent, in radians, of the elements in x and y. c is a real or complex matrix of the same size as x and y.

Examples

C = atan2(3, 4)
C = atan2(3+4i)

Related Topics

atan


Resources


 

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