atan
Inverse tangent.
y=atan(x)
| Inputs |
x |
An array of real or complex numbers. |
| Outputs |
y |
An array of same size as x . Each element of the output is the inverse tangent of the corresponding
element of the input.
|
Example
>>a=complexRandn(2,3)
>>t=tan(a)
>>at=atan(t)
>>a
0.7052 - 0.8577i -0.6319 - 0.1019i 0.2836 - 0.1197i
0.1455 + 1.2416i 0.3964 + 1.0324i 0.5449 + 0.0057i
>>at
0.7052 - 0.8577i -0.6319 - 0.1019i 0.2836 - 0.1197i
0.1455 + 1.2416i 0.3964 + 1.0324i 0.5449 + 0.0057i
>>norm(tan(a)-tan(at))
4.1633e-016