4 lines
109 B
Matlab
4 lines
109 B
Matlab
% test_opt() - play around with some optimization
|
|
function y = test_opt(x);
|
|
|
|
y = (x(1) - 1)^2 + (x(2) - 2)^2; |