![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/262337/image.png)
How to calculate the derivate of an equation ?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
farzad
el 18 de En. de 2020
Comentada: Star Strider
el 18 de En. de 2020
Hi All
I have the crack energy equation :
![c1.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/262334/c1.png)
In which R and G are numbers , also c and m. N is loading cycle : so it's a signal.
in which rho is defined as :
![c2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/262335/c2.png)
Having the second equation, how can I derivate it with respect to N numerically ?
0 comentarios
Respuesta aceptada
Star Strider
el 18 de En. de 2020
If ‘N’ is a vector, use gradient on it, then multiply that result by the other term in the
expression.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/262337/image.png)
2 comentarios
Star Strider
el 18 de En. de 2020
My pleasure!
The MATLAB gradient function calculates the central difference approximation of the numerical derivative. Mathematically, Gradient is a specific term that the gradient function actually creates with a matrix argument. With a vector, the MATLAB gradient function returns the derivative of the vector. See the documentation for a full description of the function and its use.
Más respuestas (0)
Ver también
Categorías
Más información sobre Spectral Measurements 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!