how would i find a postive root

1 次查看(过去 30 天)
func = @(x) tanh(2*x)/(2*x) = 0.7

回答(1 个)

Giorgos Papakonstantinou
One way to find the roots is described here. You can then exclude all the non-positive.
Quickly you can do this:
func = @(x) tanh(2.*x)./(2.*x) -0.7
fzero(func, 1)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by