real
Real part of an complex number.
📝
Syntax
R = real(M)
📥
Input Arguments
Parameter
Description
M
a variable
📤
Output Arguments
Parameter
Description
R
real part of the elements of the complex array M.
📄
Description
R = real(M)
Return the real part of M.
💡
Examples
cplx = 22+34*i; r = real(cplx)
🔗
See Also
imag
🕔
Version History
Version
Description
1.0.0
initial version
Edit this page on GitHub