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.1.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Elementary Functions > Trigonometry > cosd


element-wise cosine function, argument in degree

Calling Sequence

y = cosd(x)



a real vector/matrix.


For a vector or a matrix x of angles given in degree, cosd(x) is the cosine of its elements. The results are in [-1 1]. For input elements which are equal to n*90 with n integer and odd, the result is exactly zero.



x=[0,30 45 60 90 360];

See Also

  • 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:
Tue Apr 02 17:36:21 CEST 2013