FUNCTION REFERENCE

sin

Sine of argument in radians.

Sine of argument in radians.

Syntax

y = sin(x)

Elementwise sine; complex input is supported.

Example

sin(pi/2)   % 1

Example

sin(1+2i)   % 3.1658 + 1.9596i

Differences from MATLAB: logical input is not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.