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 - Русский - 日本語
Scilab Help >> Elementary Functions > Trigonometry > acosd

acosd

element wise cosine inverse, result in degree.

Syntax

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-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:34 CEST 2016