# Function arg Compute the argument of a complex value. If x = a + bi, the argument is computed as atan2(b, a). arg(x) For matrices, the function is evaluated element wise. ### Parameters Parameter | Type | Description --------- | ---- | ----------- `x` | Number | Complex | Array | Matrix | Boolean | ### Returns Type | Description ---- | ----------- Number | Array | Matrix | res