X = real(Z)
X = real(Z) returns the real part of the elements of the complex array Z.
real(2+3*i) is 2.
abs, angle, conj, i, j, imag