Version:

Computes the cosine, in radians, of the input elements.

Syntax

c = cos(a)

a

Real or complex scalar or array of any dimension.

c

Cosine, in radians, of the elements in a. c is a scalar or an array of the same size as a.