tand

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

Syntax

R = tand(a)

Inputs

a
The angle in degrees.
Dimension: scalar | vector | matrix

Outputs

R
scalar | vector | matrix

Examples

Scalar input:
R = tand(60)
R = 1.73205081

Matrix input:

R = tand([60, -45; -30, 90])
R = [Matrix] 2 x 2
  1.73205  -1.00000
 -0.57735       Inf