MATLAB: Heuristic solver for lambert W function

heuristic algorithmheuristic solverlambert w functionproduct log function

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

Best Answer

X = solve('x*(2^x)=b/ln(2)','x');
x_b3 = subs(X,'b',3) % x when b=3