Borrar filtros
Borrar filtros

Finding the intersection of a function with its derivative

2 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Wayne King
Wayne King el 15 de Dic. de 2013
Editada: Wayne King el 15 de Dic. de 2013
How about:
syms x
f=2*sin(log(x)).^2;
g=diff(f);
solve(f-g) % or solve(f==g)
  3 comentarios
Sebastian Ciuban
Sebastian Ciuban el 15 de Dic. de 2013
I have tried that but I wasn't sure it was correct :)
Sebastian Ciuban
Sebastian Ciuban el 15 de Dic. de 2013
That is the thing that I want to know :). The value of all points where those 2 curves intersect

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by