tan
Returns the tangent of a (in radians).
Syntax
R = tan(a)
Inputs
- a
- Any valid scalar | vector | matrix in radians.
Outputs
- R
- scalar | vector | matrix
Examples
R = tan(-0.5)
R = -0.546302
R = tan([-3,.6])
R = [ 0.142547 0.684137 ]
R = tan([i+2,3i-1;i,0.3])
R = [ -0.243458 + 1.16674i, -0.00451714 + 1.00205i; 0.761594i, 0.309336]