MATLAB: Do logarithm to complex number get strange result.

complexexplog

vv=1-80i;
a=exp(vv);
b=log(a);
in my research, I need to do log to some complex number, but it seems that the result are not invertable.
This is really strange, anyone knows what's happened?
20190701210829.png

Best Answer

Because for any integer, k,
and so clearly log() cannot uniquely determine what the imaginary part of the original number was.