Add image processing - 2

This commit is contained in:
Edward Emelianov
2021-12-12 15:00:57 +03:00
parent 3648795f0c
commit ef040e5ebd
14 changed files with 529 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
function F = F(x)
F(1) = exp(-exp(-(x(1)+x(2)))) - x(2)*(1+x(1).^2);
F(2) = x(1).*cos(x(2)) + x(2).*sin(x(1)) - 0.5;
endfunction

View File

@@ -0,0 +1,3 @@
function y = i1 (x)
y = x .* sin (1./x) .* sqrt (abs (1 - x));
endfunction

View File

@@ -0,0 +1,3 @@
function xdot = ode1(x, t)
xdot = -exp(-t)*x^2;
endfunction

View File

@@ -0,0 +1,4 @@
% Initialisation of Van der Pol with mu=1
function dydt = vdp1(t,y)
dydt = [y(2); (1-y(1)^2)*y(2)-y(1)];
endfunction

View File

@@ -0,0 +1,5 @@
function A = test(x)
A(1) = 2*(x(1) - 4).^2 + 7*(x(2)-8).^2 - x(3).^2;
A(2) = 5*(x(1) - 1).^2 - 4*(x(2)+3).^2 + 2* x(3).^2 + 1;
A(3) = x(1).^2 + x(2)^2 + x(3)^2;
endfunction

View File

@@ -0,0 +1 @@
9.54, 3.44, -7.91