Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Scilab Help >> Elementary Functions > Trigonometry > cos

cos

cosine function

Calling Sequence

[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)

Comments


Add a comment:
Please login to comment this page.

Report an issue
<< atanm Trigonometry cosd >>

Scilab Enterprises
Copyright (c) 2011-2014 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Fri Apr 11 14:06:50 CEST 2014