Documentation Center

  • Trial Software
  • Product Updates

sind

Sine of argument in degrees

Syntax

Description

example

Y = sind(X) returns the sine of the elements in X, which are expressed in degrees.

Examples

expand all

Sine of 180 degrees compared to sine of π radians

sind(180)
ans =

     0
sin(pi)
ans =

   1.2246e-16

Sine of vector of complex angles, specified in degrees

z = [90+i 15+2i 10+3i];
y = sind(z)
y =

   1.0002        0.2590 + 0.0337i   0.1739 + 0.0516i

Input Arguments

expand all

X — Angle in degreesscalar value | vector | matrix | N-D array

Angle in degrees, specified as a real-valued or complex-valued scalar, vector, matrix, or N-D array. The sind operation is element-wise when X is nonscalar.

Data Types: single | double
Complex Number Support: Yes

Output Arguments

expand all

Y — Sine of anglescalar value | vector | matrix | N-D array

Sine of angle, returned as a real-valued or complex-valued scalar, vector, matrix, or N-D array of the same size as X.

See Also

| |

Was this topic helpful?