sin

sin(X) computes sine for each element of X.

Examples

> x = 0:0.1:4*pi

[x:1x126 double]

> plot(x, sin(x))

[ans:1x1 struct]

Resources

See also

asin | asind | cos