Calculating Hessian without using symbolic functions
30 次查看(过去 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!