cos(Variable) Function

Top 

Description

Computes the cosine of the specified value.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Function Signature

cos(

Variable x)

 

 

Arguments

x


Description:

The value whose cosine will be returned.

Units:

rad

 

 

 

Return Value

Type:

number

 

 

The cosine of the specified value.

 

Syntax

myVariable1 = cos(myVariable2);

 

 

See also

cos