diff options
Diffstat (limited to 'exam.sce~')
-rw-r--r-- | exam.sce~ | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/exam.sce~ b/exam.sce~ new file mode 100644 index 0000000..ae3a2eb --- /dev/null +++ b/exam.sce~ @@ -0,0 +1,5 @@ +function y = f(x) + y = 3*x(1)^2 + 2*x(1)*x(2) + x(2)^2 - 4*x(1) + 5*x(2) ; +endfunction + +[xval, fval, status, gradient, hessian] = intfminunc(f,[1], [1 2],[2 6]) |