rosenh.m
来自「Generalized Method of Moments(GMM) 广义矩方法」· M 代码 · 共 12 行
M
12 行
function stat = rosenh(x,infoz,stat,junk)
% Hessian of Rosenbrock's function
%
% Used in ROSEN_D, a demo for MINZ
% infoz, stat, and junk are needed by functions called by MINZ
H = [1200*x(1)^2 - 400*x(2) + 2 -400*x(1);
-400*x(1) 200];
stat.Hi = H\eye(size(H));
stat.Hcond = cond(stat.Hi);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?