Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Elementary Functions > Trigonometry > acosd

acosd

element wise cosine inverse, result in degree.

Calling Sequence

t = acosd(x)

Arguments

x

a real or complex vector or matrix.

t

a real or complex vector or matrix.

Description

The components of t are cosine inverse, in degree, of the corresponding entries of x (t=acos(x)*180/%pi). For real data in [-1, 1], the results are real in [0 180].

Sample

Examples

x=[-1 0 1 sqrt(2)/2 -sqrt(2)/2 sqrt(3)/2 -sqrt(3)/2];
acosd(x)

See Also

  • acos — element wise cosine inverse (radians) cos — cosine function
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:34:42 CEST 2012