Heuristic solver for lambert W function?

6 Ansichten (letzte 30 Tage)
Ian
Ian am 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

Akzeptierte Antwort

Matt Fig
Matt Fig am 5 Sep. 2012
Bearbeitet: Matt Fig am 5 Sep. 2012
X = solve('x*(2^x)=b/ln(2)','x');
x_b3 = subs(X,'b',3) % x when b=3

Weitere Antworten (0)

Kategorien

Mehr zu Physics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by