function real
Returns the real part of the complex number X.
Syntax
result = real(X)
Arguments
X: | The value whose real part is to be returned. This can be a number (integer, real, complex) or a matrix. If X is a matrix, a matrix of the same size is returned where each element represents the result of the operation. |
See also
function imag
function arg
function abs
function complex
function conj