Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.1.0 - English


tand

tangent, argument in degree.

Syntax

t = tand(x)

Arguments

x

a real vector or matrix.

t

a real vector or matrix.

Description

The elements of t are the tangent of the elements of x (in degree).

Examples

tand([0 30 45 60 90])
tand([-90 0 90 180 270 360])
--> tand([0 30 45 60 90])
 ans  =
   0.   0.5773503   1.   1.7320508   Inf

--> tand([-90 0 90 180 270 360])
 ans  =
  -Inf   0.   Inf   0.  -Inf   0.

See also

  • atand — 2-quadrant and 4-quadrant element-wise inverse tangent, result in degree
  • atan — 2-quadrant and 4-quadrant inverse tangent
  • tan — tangent
  • tanh — hyperbolic tangent
Report an issue
<< tan Trigonometry tanh >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon May 22 12:37:05 CEST 2023