How to determine roots of a trigonometric equation like 2x-cosx-2=0 ?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to determine roots of a trigonometric equation like 2x-cosx-2=0 ?
0 commentaires
Réponse acceptée
Torsten
le 27 Juin 2016
fun=@(x)2*x-cos(x)-2;
x0=[0 2];
sol=fzero(fun,x0)
Best wishes
Torsten.
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Equations 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!