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:
4
Komp_obr_SFedU/Materials4Pract/04/F.m
Normal file
4
Komp_obr_SFedU/Materials4Pract/04/F.m
Normal 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
|
||||
3
Komp_obr_SFedU/Materials4Pract/04/i1.m
Normal file
3
Komp_obr_SFedU/Materials4Pract/04/i1.m
Normal file
@@ -0,0 +1,3 @@
|
||||
function y = i1 (x)
|
||||
y = x .* sin (1./x) .* sqrt (abs (1 - x));
|
||||
endfunction
|
||||
3
Komp_obr_SFedU/Materials4Pract/04/ode1.m
Normal file
3
Komp_obr_SFedU/Materials4Pract/04/ode1.m
Normal file
@@ -0,0 +1,3 @@
|
||||
function xdot = ode1(x, t)
|
||||
xdot = -exp(-t)*x^2;
|
||||
endfunction
|
||||
4
Komp_obr_SFedU/Materials4Pract/04/vdp1.m
Normal file
4
Komp_obr_SFedU/Materials4Pract/04/vdp1.m
Normal 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
|
||||
Reference in New Issue
Block a user