Imaginary part of a complex number.
In case of matrices, the result will be calculated elementwise.
imag(2+4i)