<< cos Trigonometry cosh >>

Scilab help >> Elementary Functions > Trigonometry > cosd

cosd

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

呼び出し手順

y=cosd(x)

パラメータ

x

実数ベクトル/行列

説明

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

例

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

参考

作者

<< cos Trigonometry cosh >>