Pplane Matlab

0 views
Skip to first unread message

Keith Cogswell

unread,
Aug 4, 2024, 4:12:47 PM8/4/24
to exadfehand
Thesoftware pplane allows the user to utilize a graphical interface to plot direction fields for differential equations. Instead of going through the hassle of defining array vectors of all points in the range of the desired differential equation graph, a user can simply enter their equations in the software, determine the desired range to graph, as well as the shape of the arrow.

To run the software, download the followingfile pplane8.m. It has beentested to run on matlabR2019. After downloading the file, place it in a special folder, double click to open the .m file on matlab R2019, then press run.


pplane is a great program that makes it very easy to tackle nonlinear time-invariant differential equations of two states. Not only can you generate the field, but you can plot a phase portrait with trajectories of your choice and can then plot each of those state trajectories against time to see how the system actually evolves in finite time. It's a nice front-end to lots of other matlab utilities that makes it easy to get through your first course in nonlinear systems.


dfield and pplane

dfield (direction field) and pplane (phase plane) are software programs for the interactive analysis of ordinary differential equations (ODE). The software is described in detail in the manual Ordinary Differential Equations using MATLAB. Additionaly, several textbooks on differential equations refer to and usedfield and pplane. Among them are DifferentialEquations and Differential Equations with Boundary Value Problemsby John Polking, Albert Boggess, and David Arnold.


dfield and pplane are copyrighted in the name of John C. Polking, Department of Mathematics, Rice University. They are not in the public domain. However, they are being made available free for use in educational institutions. This offer does not extend to any application that is made for profit. Users who have such applications in mind should contact John C. Polking. The Java versions were written by Joel Castellanos in collaboration with John C. Polking.


dfield (Direction Field) Java Software Download:

dfield.jarClick to download and save dfield.jar. After downloading, find the directory where you saved dfield.jar and double-click on the downloaded file. Alternatively, run dfield from the commend line with the command: java -jar dfield.jar. Note: running this software requires the Java Runtime Environment 1.6 or newer.


pplane (Phase Plane) Java Software Download:

pplane.jarClick to download and save pplane.jar. After downloading, find the directory where you saved pplane.jar and double-click on the downloaded file. Alternatively, run pplane from the commend line with the command: java -jar pplane.jar Note: running this software requires the Java Runtime Environment 1.6 or newer.


I don't know much about the software since my class just started using it, but I basically need it for plotting nullclines and trajectories, as well as finding fixed points and their stability. PPLANE can basically do all of this through a nice GUI without having to write any code.


However, i don't think an alternative is strictly necessary.Firstly, even if you don't know how to write Matlab code, you should be able to figure out the GUI.Secondly, The app -Teaching-Resources/Phase-Plane-and-Slope-Field is the latest version of pplane and is written as a Matlab app, so it should be possible to run it without Matlab installed (if you can't get it working without a license, you can maybe ask your TA to help you create an executable).


I do not really know how much this can help you, but maybe you can use this code for rough sketches of the dynamics of planar vector fields. I know that it does not have the functionality that you may really wish for, but it may come in handy to guide the analysis in the right direction.


These programs were originally copyrighted by John Polking between 1995 and 2003. The textbook Ordinary Differential Equations Using MATLAB, 3rd edition, contains a manual for the programs, but they are pretty self-explanatory.


The codes were last properly updated in 2003 for MATLAB 6.5. The MATLAB File Exchange contains many submissions that got the codes running again on some release or other, but none that systematically attempted to fix all the broken components.


Acknowledgments: The current codes are based on revisions by Nathanael Kazmierczak (pplane) and Giampiero Campa (dfield). I gratefully acknowledge their efforts and those of others who posted fixes MATLAB File Exchange. Several other people sent me partially working codes including Mac Hyman, Hil Meijer, Joceline Lega, Ross Parker, and Bjorn Sanstede. I got lots of help by posting questions to MATLAB Answers. These were usually answered (within minutes) by Walter Roberson, of the Mathworks. Div Tiwari, also of the Mathworks, provided additional useful suggestions.


MATLAB has a nice program called pplane that draws phase planes of differential equations models. pplane on MATLAB is an elaborate program with an interactive GUI where you can just type the model to draw the phase planes. The rest you fidget by clicking (to grab the initial conditions) and it draws the dynamics automatically.


Below is a slight modification of his program that uses the deSolve package for a more robust approximation of the trajectory, and I made it so you can draw the trajectories by clicking, using the locator() function.


The pplane.r program takes in a 2D differential equation model, initial values and parameter value specifications to draw the dynamics on a plane. It draws arrows at evenly spaced out points at a certain resolution to see the general shape of the dynamics. This is done by using a crude method to create the Jacobian matrix. The next step is to give in initial values to draw the trajectory.


To run this, you will need to have Java installed on your machine. This is probably the case, but if not then go to , from where you can both check whether you have Java (and whether your Java is up to date) and download Java. Be careful during the installation of Java: the install might try to change your web homepage and search engine to Yahoo!


You should then be able to run PPLANE by double-clicking on the pplane.jar file you downloaded. Your computer might complain about running code from an unknown developer. You will need to give the necessary approval to run the program: this might involve bringing up your security preferences.


PPLANE was developed by John C. Polking, who is at the Department of Mathematics, Rice University. Here is a link to his PPLANE page (page currently not working), which has more information, including terms and conditions for using his software (free to use at educational institutions).


Clem předmětu je umožnit studentům zopakovat si a prohloubit znalosti zskan v matematickch kursech bakalřskho studia. I když budou studenti v budoucnu pracovat v nejrůznějšch oblastech chemie, měli by bt schopni využt při formulaci, analze a simulaci svch vsledků rigorzn matematick nstroje včetně nejmodernějšho dostupnho softwaru.


The aim of the course is to enable students to brush up on and deepen the knowledge acquired in undergraduate mathematics courses of study. Although students will work in the future in various fields of chemistry, they should be able to use in the formulation, analysis, and simulation results of its rigorous mathematical tools, including most advanced software available.


Přednšky probhaj dle sylabu. Ne ně navazuje cvičen, kde jsou teoretick matematick znalosti aplikovny na konkrtn lohy chemickho inženrstv. K vpočtům je využvn Matlab, pro simulace chovn dynamickch systmů konkrtně "pplane".


Během semestru vypracuj studenti několik miniprojektů (jejich počet zvis na obtžnosti lohy). Cvičc posoud kvalitu zpracovn a uděl studentovi zpočet. Bez zpočtu nemůže student konat zkoušku. Zkouška se skld z psemn a stn čsti. Podmnkou pro připuštěn k stn zkoušce je zisk minimlně 50ti bodů z psemky. Napše-li student psemku na dostatečn počet bodů a neuspěje u stn čsti, nemus psemku opakovat.

3a8082e126
Reply all
Reply to author
Forward
0 new messages