谁有代码呀~~或者思路也好~~~{:2_27:}
小女子拜谢~~
|
楼主: 苏榕落
|
9072
5
用MATLAB计算hessian矩阵 |
|
已卖:1616份资源 博士生 38%
-
|
回帖推荐The Hessian of a scalar valued function f:Rn®R is the n×n matrix of second order partial derivatives of f. In MATLAB we can obtain the Hessian of f by computing the Jacobian of the Jacobian of f. Consider once again the function f(x,y)=(4x2-1)e-x2-y2.
>> syms x y real
>> Hf=jacobian(jacobian(f));
>> Hf=simple(Hf)
Hf =
[2*exp(-x^2-y^2)*(2*x+1)*(2*x-1)*(2*x^2-5), 4*x*y*exp(-x^2-y^2)*(- ...
本帖被以下文库推荐
| ||
|
|
| ||
| ||
加好友,备注jltj京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


