<< cos Trigonometry cosh >>

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

cosd

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

呼び出し手順

y=cosd(x)

引数

x

実数ベクトル/行列

説明

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

サンプル

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

参照


Report an issue
<< cos Trigonometry cosh >>