how would i find a postive root
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
func = @(x) tanh(2*x)/(2*x) = 0.7
0 commentaires
Réponses (1)
Giorgos Papakonstantinou
le 4 Mar 2015
Quickly you can do this:
func = @(x) tanh(2.*x)./(2.*x) -0.7
fzero(func, 1)
0 commentaires
Voir également
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!