sin(m)

The sin(m) function returns sine of each element in m.

Example

OML

>> m=[1 2 3;4 5 6]

1 2 3

4 5 6

>> sin(m)

0.841471 0.909297 0.14112

-0.756802 -0.958924 -0.279415