how would i find a postive root
Show older comments
func = @(x) tanh(2*x)/(2*x) = 0.7
Answers (1)
Giorgos Papakonstantinou
on 4 Mar 2015
Quickly you can do this:
func = @(x) tanh(2.*x)./(2.*x) -0.7
fzero(func, 1)
Categories
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!