Main Content

sind

Sine of argument in degrees

Description

example

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

Examples

collapse all

sind(180)
ans = 0
sin(pi)
ans = 1.2246e-16
z = [90+i 15+2i 10+3i];
y = sind(z)
y = 1×3 complex

   1.0002 + 0.0000i   0.2590 + 0.0337i   0.1739 + 0.0516i

Input Arguments

collapse all

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

collapse all

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

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

See Also

| |

Introduced before R2006a