Acos function – Multichannel Systems NeuroExplorer User Manual

Page 296

Advertising
background image

5.5.13.16. acos Function

acos Function


Returns the arccosine (in radians) of the specified number.

Syntax


double acos(double x)

Parameters

Parameter

Type

Description

x

double

Numeric value (the value should be from -1 to +1).

Returns


Returns y such that x = cos(y).

Comments


None

Usage

NexScript

x = 0.5

y = acos(x)

% y is 1.047197551

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 294

Advertising