









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










close all clear all warning off all
figure; hold on f = @(t,x) [x(1)(1.5-x(1)-0.5 x(2));... x(2)(2-x(2)-0.75x(1))]; for a = 0.25:0.25:1. for b = 0.5:0.5: [t,xa] = ode45(f, [0 10], [a,b]); plot(xa(:,1), xa(:,2)) [t,xa] = ode45(f, [0 -5], [a,b]); plot(xa(:,1), xa(:,2)) title (['Phaseline Chart for 9.4 #1']) xlabel x ylabel y end end axis ([0,2,0,4.5])
close all clear all % This is Problem 9.5 # warning off all figure; hold on f = @(t,x) [x(1)(1.5-0.5 x(2));... x(2)*(-0.5+x(1))]; for a = 0.25:0.25:1. for b = 0.5:0.5: [t,xa] = ode45(f, [0 10], [a,b]); plot(xa(:,1), xa(:,2)) [t,xa] = ode45(f, [0 -5], [a,b]); plot(xa(:,1), xa(:,2)) title (['Phaseline Chart for 9.5 #1'])
clear all %syms a y x for a = 0:0.2: figure [X, Y] = meshgrid(0:0.1:3, 0:0.3:4); U = (1-a)(X.(1.5-X-0.5Y))+a(X.(1.5-0.5 Y)); V = (1-a)(Y.(2-Y-0.75X))+a(Y.*(-0.5+X)); L = sqrt((U/2).^2+(V/4.5).^2); quiver(X, Y, U./L, V./L, 0.4); axis tight title (['Direction Field for Alfa = ' num2str(a)]) xlabel x ylabel y end
Go Back to Contents
Back to Phaseline for Alfa = 0 Back to Phaseline for Alfa = 0.
Back to Phaseline for Alfa =0.4 Back to Phaseline for Alfa = 0.
Go Back to Contents
Back to Phaseline for Alfa = 0
a =
Critical points: [ 0, 0] [ 0, 2] [ 3/2, 0] [ 4/5, 7/5]
Eigenvalues at the following stationary point
x_ =
0
y_ =
0
are displayed below
Eigenvalues at the following stationary point
x_ =
0
y_ =
2
are displayed below -2.
Eigenvalues at the following stationary point
x_ =
3/
y_ =
0
are displayed below -1.
Eigenvalues at the following stationary point
x_ =
y_ =
7/
are displayed below -1. -0.
are displayed below -1.
Eigenvalues at the following stationary point
x_ =
y_ =
are displayed below -1. -0.
Back to Phaseline for Alfa = 0.
a =
Critical points: [ 0, 0] [ 5/2, 0] [ 0, 5/3] [ 80/67, 105/67]
Eigenvalues at the following stationary point
x_ =
y_ =
are displayed below
Eigenvalues at the following stationary point
x_ =
y_ =
are displayed below -1.
Eigenvalues at the following stationary point
x_ =
y_ =
are displayed below -0.
Eigenvalues at the following stationary point
x_ =
15/
y_ =
are displayed below -1.
Eigenvalues at the following stationary point
x_ =
35/
y_ =
are displayed below -0.6452 - 0.5636i -0.6452 + 0.5636i
Back to Phaseline for Alfa = 0.
THE FOLLOWING IS FOR THE VALUE OF ALFA
a =
Critical points: [ 0, 0] [ 15/2, 0] [ 60/73, 195/73]
Eigenvalues at the following stationary point
x_ =
0
y_ =
are displayed below 0
Eigenvalues at the following stationary point
x_ =
15/
y_ =
are displayed below -1.
Eigenvalues at the following stationary point
x_ =
60/
y_ =
are displayed below -0.3493 - 0.8242i
Back to Phaseline for Alfa = 1
a =
Critical points: [ 0, 0] [ 1/2, 3]
Eigenvalues at the following stationary point
x_ =
0
y_ =
are displayed below -0.
Eigenvalues at the following stationary point
x_ =
1/
y_ =
are displayed below 0 - 0.8660i 0 + 0.8660i
Published with MATLAB® 7.