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