0% found this document useful (0 votes)
283 views2 pages

Pplane

To use pplane in Matlab: 1. Download Matlab and pplane8, saving pplane8 in your Matlab folder. 2. In the Matlab window, type "pplane8" and press enter to open the pplane Setup window. 3. Enter differential equations in the Setup window and click "Proceed" to open the Display window showing the phase portrait. 4. Select options in the menus to compute trajectories, find equilibria, and analyze stability.

Uploaded by

Ahmed Haggar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
283 views2 pages

Pplane

To use pplane in Matlab: 1. Download Matlab and pplane8, saving pplane8 in your Matlab folder. 2. In the Matlab window, type "pplane8" and press enter to open the pplane Setup window. 3. Enter differential equations in the Setup window and click "Proceed" to open the Display window showing the phase portrait. 4. Select options in the menus to compute trajectories, find equilibria, and analyze stability.

Uploaded by

Ahmed Haggar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

How to use pplane in Matlab

Download Matlab from


http://software.brown.edu/dist/sw-win.html (Windows)
http://software.brown.edu/dist/sw-mac.html (Mac)
Next, download pplane8 (which has been develped by John C Polking at Rice University) from
http://www.dam.brown.edu/people/sandsted/APMA219.php
and save it on your computer.

Start Matlab, and you will see a screen similar to the one shown below:

Click on the “...” button indicated by the red rectangle in the figure above and change your working folder to the folder in
which you saved pplane. Next, type “pplane8” at the arrow in the Matlab window and press enter. The “Setup” window will
pop up in which you can enter differential equations in the plane and any parameters that appear in these equations:

To solve the system x’=x+e-y, y’=-y, edit the window as shown below:
You can save the differential equation into your working folder by choosing
“File -> Save the current system”
from the menubar. This allows you to reuse your equations later by selecting “File -> Load a system...”. Clicking on
“Proceed” will take you to the following “Display” window, which contains the phase portrait of our differential equation:

Since we selected the “Nullclines” button on the setup screen, Matlab plots the nullclines, which are the two curves shown.
From the menubar, select “Options -> Solution direction -> Forward” so that pplane solves only in forward time. Then
click anywhere in the window to compute the trajectory with the chosen initial condition:

Check out the various menus under “Edit”, “Solutions”, “Options” and “Graph”, and try a few of them out. For instance,
select “Solutions -> Find an equilibrium point” and use the cross hairs that pop up to select a point. Matlab will find an
equilibrium and display its Jacobian and the eigenvalues in a separate window: it will also classify the equilibrium for you,
and you can solve the linearization by selecting “Display the linearization”. If you now select “Solutions ->Plot stable and
unstable orbits”, you can select a saddle point, and pplane will compute its stable and unstable manifolds.

You might also like