MATLAB: Solution of one variable parametric equation

equationfsolve

Dear colleagues,
I have an equation of the form x=c.tanh(a.x), where a and c are constants. I may ask for your kind suggestions to find the solution of equation.
Best regards, Imran

Best Answer

a=...;
c=...;
f=@(x)(x-c*tanh(a*x));
sol=fzero(f,1);
sol
By the way: x=0 is a solution.
Best wishes
Torsten.
Related Question