comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: "ALOG2" ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: "ALOG2" ? [message #14856 is a reply to message #14853] Mon, 05 April 1999 00:00 Go to previous messageGo to previous message
Eric Vella is currently offline  Eric Vella
Messages: 8
Registered: April 1999
Junior Member
How about simply ALOG2(X) = ALOG(X) / ALOG(2)
or approximately ALOG2(X) = ALOG(X) / 0.69315 ?

ALOG2 is the function you want (log base 2), ALOG is the standard
logarithm (log base e) which IDL knows. Dust off an old math book on
logarithms to see why this works.

Amara Graps wrote:

> Hi Folks,
>
> Does anyone have an IDL function to compute the logarithm
> base 2 of the elements of an array?
> ...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: idl versus pvwave
Next Topic: Re: Problems with JULDAY and CALDAT

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 19:51:34 PDT 2025

Total time taken to generate the page: 1.03913 seconds