Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

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

collapse all

sind(180)
ans =

     0

sin(pi)
ans =

   1.2246e-16

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

   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.

More About

collapse all

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

See Also

| |

Introduced before R2006a


Was this topic helpful?