sind

Sine of argument in degrees

Syntax

• ``Y = sind(X)``
example

Description

example

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

Examples

collapse 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

collapse 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

collapse 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`.