?? j_himm.m
字號(hào):
% Program: j_himm.m
% Description: Evaluates the Jacobian of
% [f1(x) f2(x)]' for the Himmelblau function,
% where
% f1(x) = x1^2 + x2 - 11
% f2(x) = x1 + x2^2 - 7
% To Run: Execute the commands:
% x = [x1 x2]' % e.g., x=[1 2]'
% J = j_himm(x)
% ===============================
function J = j_himm(x)
x1 = x(1);
x2 = x(2);
J = [2*x1 1; 1 2*x2];
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -