Returns the angular phase (also called the argument) of x. It is performed element-wise if the arguments are vectors, matrices or signals. If x is the complex scalar a+bi, then the return value is the real scalar φ with a+bi = r · exp (iφ).
Syntax
arg(x)
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Arguments: | x | real, complex | scalar, vector, matrix, signal, xy-data | |
Result: | z | real | scalar, vector, matrix, signal, xy-data |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
x | Argument | COMPLEX REAL SIGNAL | ![]() | signal([1,2],[1,3],[cplx(1,1),cplx(0,2)]) | |
z | Result | REAL SIGNAL | ![]() | arg(x) |