Cos

From VLECK
Jump to: navigation, search

Returns the cosines

Syntax

Result = Cos( Values);

Return Value

Cos returns the cosines of all elements of the matrix or structure Values. The return value is a matrix or structure of the same shape as the argument Values .

Parameters

Values Matrix or structure with angles in radians


Example


A=1,2,3;

1 2 3

R=cos(A);

0.540302	-0.416147	-0.989992