Do logarithm to complex number get strange result.
5 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Matt J
on 1 Jul 2019
Edited: Matt J
on 1 Jul 2019
Because for any integer, k,
and so clearly log() cannot uniquely determine what the imaginary part of the original number was.
1 Comment
Matt J
on 2 Jul 2019
Tiexing Wang's comment moved here:
Thank you for your answer, it's really helpful.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!