File:Wykresruchomy.gif
Original file (500 × 620 pixels, file size: 176 KB, MIME type: image/gif, looped, 19 frames, 7.6 s)
Captions
Summary
editDescriptionWykresruchomy.gif |
Polski: Wykres przedstawia zmiany
populacji ofiar i drapieżników w czasie oraz wykres fazowy. |
Date | |
Source | Own work |
Author | LukashiMiamoto |
clear all;
close all;
global s;
global K;
global r;
global k;
global D;
global h;
K=500;
r=0.895;
s=0.7;
D=3;
k=1;
h=1;
function y=lotkifun4(x);
global s;
global K;
global r;
global k;
global D;
global h;
y(1)=x(1).*(r.*(1-(x(1)/K))-((k.*x(2))/(x(1)+D)));
y(2)=x(2).*(s.*(1-(h.*x(2))/x(1)));
endfunction
t=[1:0.5:39];
x0=[10,10];
Z=lsode("lotkifun4", x0,t);
[X,Y]=meshgrid (5:5.5:45, 5:5.5:45); %tworzenie siatki
F=X.*(r.*(1-X./K)-k.*Y./(X+D)); %tworzenie wektrów
G=Y.*(s.*(1-h.*Y./X));
n=sqrt(F.^2+G.^2); %obliczanie długoci wektrów
g=G./n;
f=F./n; %normalizacja wektrów
for i=1:20
j=i*4;
subplot(2,1,1) %tworzenie górnego rysunku
plot(t,Z(:,2),t,Z(:,1),'r') %tworzenie wykresu drapieżników i ofiar
hold on
legend('drapieżnicy','ofiary')
legend('location','north')
plot(t(j),Z(j,1),'o',"markersize",10) %tworzenie punktów
plot(t(j),Z(j,2),'o',"markersize",10)
xlabel('czas')
ylabel('liczebnoć populacji')
subplot(2,1,2) %tworzeni dolnego rysunku
plot(Z(:,2),Z(:,1),'r') %rysowanie portretu fazowego
hold on
h=quiver(X,Y,f,g,1); %tworzenie pola wektorowego '1' oznacza długoć wektoru
set (h,"maxheadsize",0.35) %ustalanie wielkoci strzałki
plot(Z(j,2),Z(j,1),'o',"markersize",10) %rysowanie punktów
xlabel('populacja drapieżników')
ylabel('populacja ofiar')
hold off
nazwa= sprintf ( "NAZWA%04d.png",i)
print(nazwa,'-dpng','-S500,620')
close all
endfor
Licensing
editThis file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 10:10, 11 August 2011 | 500 × 620 (176 KB) | LukashiMiamoto (talk | contribs) | {{Information |Description ={{pl|1=Wykres przedstawia zmiany populacji ofiar i drapieżników w czasie oraz wykres fazowy.}} |Source ={{own}} |Author =LukashiMiamoto |Date =2011-08-11 |Permission = |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on it.wikipedia.org
- Usage on pl.wikipedia.org
- Usage on uk.wikipedia.org