atan

Returns the inverse tangent (in radians) for each element of the argument.

Syntax

R = atan(a)

Inputs

a
Dimension: scalar | vector | matrix

Outputs

R
The angle result (in radians).

Examples

Scalar input:
R = atan(sqrt(3)/3)
R = 0.523598776
Matrix input:
R = atan([0, sqrt(3)/3; sqrt(3), 1])
R = [Matrix] 2 x 2
  0.00000  0.52360
  1.04720  0.78540