Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Mathematical Functions
Topic: Trigonometric Functions
See also: acos acosh asin asinh atan atanh cos cosh sin sinh tan tanh

Function: atan2
Description: Computes elementwise the angle in radian between the positive part of the x-axis and the line with origin in (0,0) which contains the point (x, y).

Usage: z = atan2(y, x)
Input:
x array
y array
Output:
z array

Example:
atan2(0, -1.0)

Result:
Contents of atan2



[1,] 3.1416



(C) MD*TECH Method and Data Technologies, 05.02.2006