Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - 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

# atan

2象限および 4象限逆正接

### 呼び出し手順

```phi=atan(x)
phi=atan(y,x)```

x

phi

x, y

phi

### 説明

2番目の形式は4象限逆正接を計算します(Fortranの atan2). この場合,この関数は,複素数 `x+i*y` の偏角(角度)を 返します. `atan(y,x)`の範囲は, (-pi, pi] です.

### 例

```// 二番目の形式の例
x=[1,%i,-1,%i]
phasex=atan(imag(x),real(x))
atan(0,-1)
atan(-%eps,-1)

// 分岐切断(branch cut)
atan(-%eps + 2*%i)
atan(+%eps + 2*%i)
atan(-%eps - 2*%i)
atan(+%eps - 2*%i)

// 分岐点における値
ieee(2)
atan(%i)
atan(-%i)```

### 参照

• tan — 正接
• ieee — 浮動小数点例外モードを設定

### 作者

• B.P.
• L.V.D. (authors of the complex atan function).

### Comments

Add a comment:
Please login to comment this page.

 << asinm Trigonometry atand >>

 Scilab EnterprisesCopyright (c) 2011-2017 (Scilab Enterprises)Copyright (c) 1989-2012 (INRIA)Copyright (c) 1989-2007 (ENPC)with contributors Last updated:Wed Oct 05 12:12:40 CEST 2011