Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Elementary Functions > Trigonometry > cosd

cosd

要素毎の余弦(引数の単位:度)

呼び出し手順

y=cosd(x)

引数

x

実数ベクトル/行列

説明

ベクトルまたは行列xに角度(単位:度)が 指定されると, cosd(x)は各要素の余弦となります. 結果は [-1 1]の範囲となります. 入力要素がn*90 (nは奇数の整数)に等しい 場合,結果は完全にゼロとなります.

サンプル

cosd([0 30 45 60 90 360])
1 ./ cosd([-90 90])
--> cosd([0 30 45 60 90 360])
 ans  =
   1.   0.8660254   0.7071068   0.5   0.   1.

--> 1 ./ cosd([-90 90])
 ans  =
   Inf   Inf
Report an issue
<< cos Trigonometry cosh >>

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:
Tue Feb 25 08:53:19 CET 2020