real

real(X) returns the real part of matrix X.

Examples

> X = 2+3i

	[X:2+3i]

> real(X)

	[ans:2]

See also

abs | angle | conj | i | imag | isreal | j