Skip to main content

RE function

RE(A) returns the real part a of the complex number a + bi.

The argument A can be a real number, a complex number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the RE function applied to all elements.

Example

RE(5+3i) returns 5

RE(5) returns 5.

Calculator

RE 5

See also