powered by
Real(z) Imag(z) angle(z)
angle
atan2(Im(z), Re(z))
Mod
abs
z <- c(0, 1, 1+1i, 1i) Real(z) # Re(z) Imag(z) # Im(z) Conj(z) # Conj(z) abs(z) # Mod(z) angle(z)
Run the code above in your browser using DataLab