Calculating Hessian without using symbolic functions
조회 수: 27 (최근 30일)
이전 댓글 표시
Is there a way to calculate the Hessian of a function that is not written as a symbolic function?
The function that I'm trying to calculate the Hessian for involves solving ordinary differential equations and cannot be easily written as a symbolic function.
댓글 수: 0
채택된 답변
Walter Roberson
2022년 9월 28일
No, not unless you can calculate it by hand ahead of time using some other set of external tools.
You can estimate the Hessian. See for example https://www.mathworks.com/matlabcentral/fileexchange/13490-adaptive-robust-numerical-differentiation
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!