Exp function to get antilog

6393
3
Jump to solution
10-09-2014 10:50 AM
MichaelAugust
Occasional Contributor III

I am trying to take some result values and log transform them with the field calculator, then krig them to a surface - I found this in the help regarding the log function:

 

"field calculator uses the natural Log not Log10(x)

try;

Log ( [Area] ) / Log ( 10 )"

 

I did that and it seemed to work, but how do I calculate the antilog or exp back correctly of the surface, I can't seem to get back to values that correlate to my original data (which ranges from 0.00001 to 0.003047) - I run:

 

Exp("log_krig")

 

in the raster calculator and end up with values of 0.00252001 to 0.0755711...I'm wondering if there's a reverse of the above trick to get the antilog of my surface somehow (i.e. get back from Log transformed data to original)? My mathematics are not strong...thanks for any help!

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Esteemed Contributor

Natural log   Ln    This example calculates the natural logarithm (base e) of the input raster values

Exp                      This example calculates the base e exponential of the input raster values,

Is this the pairing you are looking for?  there is Log10, Ln, Log2  and Exp10, Exp, Exp2

View solution in original post

3 Replies
DanPatterson_Retired
MVP Esteemed Contributor

Natural log   Ln    This example calculates the natural logarithm (base e) of the input raster values

Exp                      This example calculates the base e exponential of the input raster values,

Is this the pairing you are looking for?  there is Log10, Ln, Log2  and Exp10, Exp, Exp2

View solution in original post

MichaelAugust
Occasional Contributor III

Wow, somehow I just did not see the exp10 in the raster calculator list the first time - thanks Dan!

0 Kudos
DanPatterson_Retired
MVP Esteemed Contributor

No problem...the terms differ depending upon which software you are using...wait until you get into python...

0 Kudos