I would like to ask a question about why MATLAB chooses to use log()
for natural log instead of ln()
. Since this is a question that really only Mathworks can answer, I wanted to see if it is on-topic to post here or not. My hope was that someone might have seen an explanation in the past and can share it; not so much looking for an answer straight from the horse's mouth.
Is this something I can post on Stack Overflow?
log()
I would have to say that it is because in higher level mathlog()
isln()
ln
/log
, as it is somewhat quirky compared to the a decent number of other languages. IMO documenting it on SO wouldn't be such a bad thing. A self-answer along the lines of "Why does log() give bad values?" might be more appropriate.