Ted's Home Page Get Firefox! Get Thunderbird! Thursday, February 02, 2023, 9:16 pm GMT
    Home :: Contact :: Blog :: Updates (Tue, Feb 12) :: Search :: Highlight Linux :: Apache HTTPD :: PHP :: VIM :: OCS
          email me email me
[Ted and a baby giraffe]
Contact Me
More Information
Faculty Job Search
Industry Job Search
My Teaching Sites
General Posts
Public hg repos
Public git repos
The Blog
  email me
email me
email me
email me

Plotting ODE Phase Portraits in MATLAB: Using PPLANE and DFIELD

NEW: See Phase Portraits, a new blog post discussing dealing with nonlinear differential equations in MATLAB, for more information about alteratives to pplane in MATLAB.

I noticed that many hits to my blog, Phase Portrait, are from people searching for things like "phase portrait matlab". Unfortunately for them, they get my ramblings instead. So to help them out, I made this post about drawing phase portraits in MATLAB. I echo the content of that post here.

For those who are looking for help drawing nonlinear phase portraits of ODE systems in MATLAB, I recommend you click here and check out pplane and dfield.

Here's a review of dfield and pplane that gives some screen shots.

I've not used dfield, but I've used pplane a lot. It's a great tool (in new versions of MATLAB, it's a single script file) that gives a GUI frontend to plot nonlinear ODE phase portraits. It then allows you to find their equilibrium points and plot trajectories as well as a number of other fun things. For example, you can Jacobian linearize a system around and equilibrium point and it will give you the linear phase portrait as well as the eigenvalues of the linearlized system and a set of normalized eigenvectors.

Lots of course web pages use pplane (specifically pplane6, for MATLAB6.x). I recommend you download the software and search for pplane or pplane6 if you want more information. However, it's VERY EASY TO USE, so I don't think you'll need much help.


appalling appalling
appalling appalling
email me email me
1481147 hits
(189 today)
Terms of Use
Ted Pavlic <ted@tedpavlic.com>   appalling appalling appalling appalling email me email me GPG Public Key: D/L, View, Ubuntu, MIT, PGP (verified) (ID: E1E66F7C) This Page Last Updated on Tuesday, February 12, 2019, 6:17 pm GMT