Skip to content Skip to sidebar Skip to footer

Calculate Antilog In Python? Np.exp / Math.exp Doesn't Work

I have an array of log values temp= [4,4.05......9] These are actually from 10^4 to 10^9 for example, log(10^4)=4 and so on I need to take the antilog of temp array to get these nu

Solution 1:

np.exp is the exponential in base e. If you want the exponential in base 10, you could use scipy.special.exp10 or simply 10.0**your_array


Post a Comment for "Calculate Antilog In Python? Np.exp / Math.exp Doesn't Work"