Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - English


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
Report an issue
<< acos Trigonometry acosh >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 24 11:13:08 CEST 2024