rosen.m

来自「Generalized Method of Moments(GMM) 广义矩方法」· M 代码 · 共 10 行

M
10
字号
function f = rosen(x,infoz,stat,junk)
% Rosenbrock's function
%   f = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2;
%
% Used in ROSEN_D, a demo for MINZ
%  infoz, stat and junk are needed by functions called by MINZ

f = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?