Borrar filtros
Borrar filtros

how would i find a postive root

2 visualizaciones (últimos 30 días)
adriana resendez
adriana resendez el 4 de Mzo. de 2015
Respondida: Giorgos Papakonstantinou el 4 de Mzo. de 2015
func = @(x) tanh(2*x)/(2*x) = 0.7

Respuestas (1)

Giorgos Papakonstantinou
Giorgos Papakonstantinou el 4 de Mzo. de 2015
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)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by