res = sin(x)
| Parameter | Description |
|---|---|
| x | a numeric value |
| Parameter | Description |
|---|---|
| res | a numeric value |
sin computes the sine in radians for each element of x.
The sine function is defined as:
$$\sin(x) = \frac{e^{ix} - e^{-ix}}{2i}$$For real arguments, it represents the y-coordinate on the unit circle.
A = eye(3, 3);
res = sin(A)
| Version | Description |
|---|---|
| 1.0.0 | initial version |