21-126: Introduction to Mathematical Computing


There are two MATLAB routines that are extremely useful in studying differential equations. They are "dfield" and "pplane", written by John Polking. You can download them by following this link. Be sure you get the M-files for Version 5.3 of MATLAB.

Save the files in your home directory with the names "dfield5.m", "pplane5.m" and "ppn5out.m", just as they appear in the list. You can then access the routines by running MATLAB from your home directory, and typing "dfield5" or "pplane5" and a MATLAB prompt.

These M-files are made available free for educational use.