Heuristic solver for lambert W function?

3 vues (au cours des 30 derniers jours)
Ian
Ian le 5 Sep 2012
I have a function in the form of, x*(2^x)=b/ln(2)
This can be expressed as x=W(b)/ln(2), where, W is the product log function (or lambert W function) (reference: http://en.wikipedia.org/wiki/Lambert_W_function)
Is there any way to solve for 'x' given the value of 'b'? Is there a heuristic solver/algorithm that can help?
Much thanks ian

Réponse acceptée

Matt Fig
Matt Fig le 5 Sep 2012
Modifié(e) : Matt Fig le 5 Sep 2012
X = solve('x*(2^x)=b/ln(2)','x');
x_b3 = subs(X,'b',3) % x when b=3
  1 commentaire
Ian
Ian le 6 Sep 2012
Thanks Matt!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Physics dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by