real
Real part of a complex number.
Syntax
Section titled “Syntax”Y = real(X)Description
Section titled “Description”Returns the real part of X. Element-wise; for real inputs, returns X unchanged.
Example
Section titled “Example”real(3 + 4i) % 3