Finding the intersection of a function with its derivative
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sebastian Ciuban
le 15 Déc 2013
Commenté : Sebastian Ciuban
le 15 Déc 2013
I have this code:
x=sym('x'); f=2*sin(log(x)).^2; g=diff(f); h1=ezplot(f); set(h1,'Color','red') hold on ezplot(g) grid on
Now, how I can find the value of the points where they intersect?
0 commentaires
Réponse acceptée
Wayne King
le 15 Déc 2013
Modifié(e) : Wayne King
le 15 Déc 2013
How about:
syms x
f=2*sin(log(x)).^2;
g=diff(f);
solve(f-g) % or solve(f==g)
3 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Symbolic Math 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!