Programmer Guide/Command Reference/EVAL/atan: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Compute the inverse tangent of the argument. The function is applied element-wise and the result has always the same type as the argument ''x''. The values of the result are in the range - | Compute the inverse tangent of the argument. The function is applied element-wise and the result has always the same type as the argument ''x''. The values of the result are in the range -\pi .. &pi | ||
---- | ---- | ||
;Usage 1: '''<code>atan(<var>x</var>)</code>''' | ;Usage 1: '''<code>atan(<var>x</var>)</code>''' |
Revision as of 12:27, 4 April 2011
Compute the inverse tangent of the argument. The function is applied element-wise and the result has always the same type as the argument x. The values of the result are in the range -\pi .. &pi
- Usage 1
atan(x)
- x
- a scalar, vector or matrix
- Result
- The inverse tangent of x.
- Usage 2
atan(y, x)
- Result
- The inverse tangent of y / x. This function can be used to compute the phase