Solution of one variable parametric equation
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Imran
am 24 Okt. 2016
Kommentiert: Muhammad Imran
am 24 Okt. 2016
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
0 Kommentare
Akzeptierte Antwort
Torsten
am 24 Okt. 2016
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.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!