cmplx()
Returns complex number given real and imaginary
Syntax
y = cmplx(x, y)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| x | real part of complex number | (-∞, ∞) | integer, real | yes |
| y | imaginary part of complex number | (-∞, ∞) | integer, real | yes |
Examples
a = cmplx(2, -1)
returns 2 - 1j
Defined in
Built in
See Also
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()