Schwarz-Christoffel Toolbox

Computes conformal maps to polygons, allowing easy solution of Laplace's equation.

https://github.com/tobydriscoll/sc-toolbox

You are now following this Submission

The Schwarz-Christoffel transformation is a recipe for a conformal map to a region bounded by a polygon. They can be computed to very high accuracy in little time. These maps can make certain Laplace boundary value problems trivial to solve on such domains.
Example:
p = polygon([0 i -1+i -1-i 1-i 1]); % L-shaped region
f = diskmap(p); % find map
plot(f) % visualize it
phi = lapsolve(p,[1 nan 4 3 nan 2]); % solve a BVP
[t,x,y] = triangulate(p);
trisurf(t,x,y,phi(x+i*y)); % see it

Cite As

Toby Driscoll (2026). Schwarz-Christoffel Toolbox (https://github.com/tobydriscoll/sc-toolbox/releases/tag/v3.1.3), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
3.1.3

See release notes for this release on GitHub: https://github.com/tobydriscoll/sc-toolbox/releases/tag/v3.1.3

1.1.0.0

Now accessing the Github repository.

1.0.0.0

Previous resubmission was missing critical files.

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.