Version 1.3 (383 KB) by Bill Greene
pde1dm is a 1D PDE solver that supports high order interpolation functions, coupled ODE and is compatible with pdepe input syntax


Updated Mon, 02 May 2022 18:39:54 +0000

From GitHub

View License on GitHub


1D Partial Differential Equation Solver for MATLAB and Octave

pde1dm solves systems of partial differential equations (PDE) in a single spatial variable and time. The input is mostly compatible with the MATLAB function pdepe. Many pdepe examples will work with pde1dm with only small changes.

The main enhancement of pde1dm compared with pdepe is that pde1dm allows any number of ordinary differential equations (ODE) to be coupled to the system of PDE. One use of these ODE, for example, is to allow more complex boundary conditions at the two ends of the PDE domain.

Two capabilities of pdepe are not currently supported by pde1dm. When the PDE is defined in a cylindrical or spherical coordinate system and the left end of the domain starts at zero, pdepe uses special approximation functions to account for the singularity at this point; pde1dm does not. Also, pdepe supports an event detection capability; pde1dm currently does not support events.

Several examples and basic documentation are included in the user guide. An excellent introduction to solving PDE with the pdepe function is Professor Howard's note, Partial Differential Equations in MATLAB 7.0.


This code repository can be cloned (or a ZIP file downloaded) to any local directory. This directory should be added to the MATLAB or Octave directory path using the addpath function or the corresponding GUI command.

Cite As

Bill Greene (2023). pde1dM (https://github.com/wgreene310/pde1dm/releases/tag/v1.3), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

See release notes for this release on GitHub: https://github.com/wgreene310/pde1dm/releases/tag/v1.3


To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.