# atan2d

Four-quadrant inverse tangent in degrees.

## Syntax

* d = atan2d(y, x)

## Input argument

* y - a numeric value
* x - a numeric value

## Output argument

* d - a numeric value

## Description

**d = atan2d(y, x)** returns the four-quadrant inverse tangent (tan-1) of **y** and **x**, which must be real.

## Example

```matlab
x = [1 0 -1 0];
y = [0 1 0 -1];
d = atan2d(y, x)
```

## See also

[tand](https://github.com/Nelson-numerical-software/nelson-gitbook/blob/master/en/trigonometric_functions/tand.html).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
