Documentos de Académico
Documentos de Profesional
Documentos de Cultura
clear all
close all
format long
tn=1000;
t=0:tn;
step=4;
vo=linspace(1,tn,step);
po=linspace(1,tn,step);
[vo,po]=meshgrid(vo,po);
m=length(po(:));
for k=1:m
[V P]=Volterra(vo(k),po(k),tn);
%[V P]=Volterra1(vo(k),po(k),tn);
%subplot(131)
figure(1)
hold on
plot(t,V); %t vs x
title(' t vs v ')
axis square
%subplot(132)
figure(2)
hold on
plot(t,P); %t vs y
title(' t vs p ')
axis square
%subplot(133)
figure(3)
hold on
plot(V,P); %t vs y
title(' v vs p ')
axis square
endfor
hold off