Power Log Zero Returns as Zero?
Show older comments
Can someone solve this maths mystery in Matlab? why log(0) returns as -Inf, but 5^log(0) returns as zero?
log(0)
ans =
-Inf
5^log(0)
ans =
0
Accepted Answer
More Answers (0)
Categories
Find more on Data Logging in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!