Derivative of a Function
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Cameron
el 17 de Abr. de 2015
Editada: James Tursa
el 17 de Abr. de 2015
Is there a way to input a function as "g=@(x) exp(x^2-2);" and take the derivative?
0 comentarios
Respuesta aceptada
James Tursa
el 17 de Abr. de 2015
Editada: James Tursa
el 17 de Abr. de 2015
If you have the Symbolic Toolbox:
>> g = @(x) exp(x^2-2)
g =
@(x)exp(x^2-2)
>> syms x
>> diff(g(x))
ans =
2*x*exp(x^2 - 2)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Calculus 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!