필터 지우기
필터 지우기

How to calculate the derivate of an equation ?

조회 수: 3 (최근 30일)
farzad
farzad 2020년 1월 18일
댓글: Star Strider 2020년 1월 18일
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 ?

채택된 답변

Star Strider
Star Strider 2020년 1월 18일
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
farzad
farzad 2020년 1월 18일
Thank you very much! Is gradient equivalent for derivative? Are they the same in math?
Star Strider
Star Strider 2020년 1월 18일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by