mirror of
https://github.com/eddyem/lectures.git
synced 2026-03-21 01:00:54 +03:00
Add image processing - 2
This commit is contained in:
5
Komp_obr_SFedU/Materials4Pract/04ans/test.m
Normal file
5
Komp_obr_SFedU/Materials4Pract/04ans/test.m
Normal 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
|
||||
1
Komp_obr_SFedU/Materials4Pract/04ans/testans
Normal file
1
Komp_obr_SFedU/Materials4Pract/04ans/testans
Normal file
@@ -0,0 +1 @@
|
||||
9.54, 3.44, -7.91
|
||||
Reference in New Issue
Block a user