How to calculate the derivate of an equation ?

1 visualizzazione (ultimi 30 giorni)
Hi All
I have the crack energy equation :
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
Having the second equation, how can I derivate it with respect to N numerically ?

Risposta accettata

Star Strider
Star Strider il 18 Gen 2020
To calculate a numerical derivative of a vector, use the gradient function.
If ‘N’ is a vector, use gradient on it, then multiply that result by the other term in the expression.
  2 Commenti
farzad
farzad il 18 Gen 2020
Thank you very much! Is gradient equivalent for derivative? Are they the same in math?
Star Strider
Star Strider il 18 Gen 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.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by