🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Log2 base

User: "DocMusher"
New Altair Community Member
Updated by Jocelyn
How to calculate log2 base using generate attribute?
Sven

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "David_A"
    New Altair Community Member
    Hi Sven,

    the rules for base transformation of logarithms state that logbx = loga x / logab.
    So to transfer from base a =10  to base b=2 in Generate attributes, you just have to use
    log(n) / 0.30103
    Best,
    David