I have a script in MATLAB to calculate the value of a function A. I have also programmed the analytic derivatives of A with respect to x and y and also d2A/dxdy. Now, I want to check that my analytic derivatives are correct with a numerical validation. The form of the function is very complicated, so it's not so easy as just re-checking my math. How would you program the numerical derivative of a mixed partial derivative in MATLAB?
MATLAB: Calculating mixed partial derivatives of a function A(x,y)
MATLABmixed numerical derivativesnumerical derivativespartial derivatives
Related Question
- How to find the mixed partial derivatives using Matlab
- After taking the time derivative of a symbolic expression, how do you then differentiate that new expression with respect to another variable’s time derivative
- Taking the partial derivative analytically and then evaluating at a specific (x,y,z) coordinate
Best Answer