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 > cos

cos

cosine function

Syntax

[y]=cos(x)

Arguments

x

real or complex vector/matrix

Description

For a vector or a matrix, cos(x) is the cosine of its elements . For matrix cosine use cosm(X) function.

Sample

Examples

x=[0,1,%i]
acos(cos(x))

See Also

  • cosm — matrix cosine function
  • acos — element wise cosine inverse (radians)
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