R = angle(Z)
| Parameter | Description |
|---|---|
| Z | a variable (double, single, complex) |
| Parameter | Description |
|---|---|
| R | result of angle function. |
angle computes the phase angle, equivalent to atan2(imag(Z), real(Z)).
x = [1+i,-i;i,2i];
r = angle(x)
| Version | Description |
|---|---|
| 1.0.0 | initial version |