Complex Exponential Lab

Computer Systems Modelling · Section 5.2.1 · Interactive lab

The complex exponential signal

Choose the scaling factor k and the complex exponent s = σ + jω, and see the signal k est drawn in three dimensions: real part across, imaginary part up, time t along the third axis. Drag the picture to turn it, and use the buttons to look along each axis.

How it works and what to try

How it works: Set k, σ and ω with sliders, or by dragging s in the complex plane. The signal is drawn as a helix around the time axis, with its shadows on the Re–t and Im–t planes. Drag to turn the picture, or look straight down each axis. Presets reproduce the cases in Figures 5.7 and 5.8. A checkbox adds the conjugate k es*t, which makes the sum real. The two shadows are also shown flat, with their envelopes, and the page gives Python code to draw the same picture.

Try this: Start with σ = 0 and look down the t axis to see the helix turn. Make σ negative and then positive to see it shrink and grow. Change the sign of ω to reverse the direction of rotation. Set ω = 0 to flatten the helix into a real exponential, then add the conjugate to get a damped cosine.

Section and figure numbers refer to Chapter 5 of S. Keshav, Mathematical Foundations of Computer Networking, Addison-Wesley, 2012.

Pick s in the complex plane

Left half: the signal decays. Right half: it grows. On the vertical axis (σ = 0) it neither grows nor decays.

Time range shown

Cases from Figures 5.7 and 5.8

k estdrag to turn; scroll or pinch to zoom
the signal in 3D projection on the Re–t plane (real part) projection on the Im–t plane (imaginary part) phasor at the current t
t = 0.00

The signal at these settings

—
s = σ + jω
—
value at current t
—
envelope |k| e^(σt)
—
angle ωt (mod 2π)
—
period 2π/|ω|
—
time constant 1/|σ|
—
The two projections, flattenedeach is an exponentially modulated sinusoid; dashed lines are ±|k| eσt
Python · the value at the current t

    
Python · draw the same picture with Matplotlib

    

What to notice

With σ = 0 the signal is a helix of constant radius |k| wound around the t axis, and its shadows on the two planes are a cosine and a sine. Make σ negative and the helix shrinks towards the axis; make it positive and it flares out. The sign of ω sets the direction in which the helix turns: look down the t axis to see it turn counterclockwise for positive ω and clockwise for negative ω, just like the phasors of Section 5.1.3.

Setting ω = 0 flattens the helix into the real exponential k eσt, which lies in the Re–t plane. Adding the conjugate cancels the imaginary part and leaves 2k eσt cos ωt, again in the Re–t plane. This is the sense in which one formula covers constants, exponentials, sinusoids and damped sinusoids.