View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Complex Function Explorer

5.0 | 1 rating Rate this file 17 Downloads (last 30 days) File Size: 30.8 KB File ID: #45464 Version: 1.0
image thumbnail

Complex Function Explorer



Routines and user interface to depict and explore complex functions using color representations

| Watch this File

File Information

The submission provides routines for visual exploration of complex (in particular analytic and meromorphic) functions. Basically the function values are color-coded and displayed as images either directly on the domain or on an associated surface.

The domain can be a subset of the complex plane or of the Riemann sphere, the surfaces implemented are different versions of analytic landscapes (standard, logarithmic, compressed), but the reader will find it not difficult to depict functions on Riemann surfaces.

Various color schemes (phase plots and their modifications, domain coloring, and several black-and-white patterns) are provided, which allow one to read off properties of the function easily. In particular, in many color schemes, the location of zeros, poles, saddle points (zeros of the derivative), and
essential singularities can clearly be seen.

The most convenient entrance is the graphical user interface CFEGUI, which
allows one to enter all necessary data, to control the color options, the shape of the surface and other parameters. The interface data can be saved and loaded, several examples illustrate various options.

Alternatively, some routines can be called as MATLAB functions. In that case the user must provide an array (matrix) of complex numbers z which covers the domain (typically a rectangle, a disk or an annulus) of the function, and an array of the same size with the corresponding values w=f(z). Calling


creates a phase plot of f on the domain of z. Try PPDemo to see a number of examples with different color options.

The screenshot shows a colored analytic landscape of a rational function on the Riemann sphere.

For further information and a gallery of images visit or consult E. Wegert: Visual Complex Functions, Birkhaeuser/Springer 2012.


Phase Plots Of Complex Functions inspired this file.

Required Products MATLAB
MATLAB release MATLAB 8.2 (R2013b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
20 Feb 2017 Günter Bachelier

In the CFEGUI "Print" delivers always a 1500x1500 png regardless of the grid point values. How to get really high resolution images?

Comment only
18 Mar 2016 mohsin shawkat

i tried many times to see the plotter but till now nothing appears , what is wrong?

Comment only
15 Oct 2014 Mohamed Nasser

Contact us