Fourier Transform Basics: From Time to Frequency
Learn what the Fourier transform does, how time and frequency views of a signal connect and how to read a spectrum, with worked examples and a free lab.
Two ways to look at one signal
A voltage can be described in two ways. In the time domain you say how large it is at each moment. In the frequency domain you say which sine waves it contains and how strong each one is. Both descriptions hold the same information. The Fourier transform is the rule that converts one into the other.
The two views answer different questions. The time view shows shape, timing and distortion. The frequency view shows bandwidth, interference and which parts of a signal a filter will keep. Communication engineers use the frequency view all the time, because a radio channel, an amplifier or a filter is described by what it does to each frequency.
The transform in one line
For a signal x(t), the Fourier transform X(f) is a complex number for every frequency f. Its size tells you how much of that frequency is present. Its angle tells you the phase, which is how far that sine is shifted in time. The inverse transform rebuilds the signal from its spectrum.
X(f) = ∫ x(t) e^(−j2πft) dt x(t) = ∫ X(f) e^(+j2πft) df
The integral multiplies the signal by a rotating complex exponential and adds up the result. If the signal contains a sine at frequency f, the product has a steady average and the integral grows. If it does not, the product swings both ways and the integral stays near zero. That is why the transform acts like a bank of tuned detectors.
Worked example: a rectangular pulse
Take a pulse of height A and width T centred on t = 0. Its transform is a sinc function. The sinc is sin(πx) divided by πx, and it equals 1 at x = 0.
X(f) = A T sinc(f T) sinc(x) = sin(πx) / (πx)
- The value at f = 0 is A T, the area under the pulse.
- The first zero is at f = 1/T. For a 1 ms pulse that is 1 kHz.
- Most of the energy sits below 1/T, so a rough bandwidth is 1/T.
- A narrow pulse gives a wide spectrum. A wide pulse gives a narrow one.
The last point is the central idea of the whole subject. You cannot make a signal short in time and narrow in frequency at once. Halving the pulse width doubles the bandwidth, which is why fast digital links need wide channels.
Properties worth remembering
A few properties let you find most transforms without doing an integral. Learn these and you can predict what a filter, a delay or a modulator does to a spectrum.
| Property | In time | In frequency |
|---|---|---|
| Linearity | a x(t) + b y(t) | a X(f) + b Y(f) |
| Time shift | x(t − t0) | X(f) e^(−j2πf t0) |
| Time scaling | x(a t) | X(f / a) / |a| |
| Modulation | x(t) cos(2π fc t) | [X(f − fc) + X(f + fc)] / 2 |
| Convolution | x(t) * h(t) | X(f) H(f) |
The modulation row explains amplitude modulation. Multiplying by a carrier copies the message spectrum up to the carrier frequency, with half the height. The convolution row explains filtering. A filter with impulse response h(t) simply multiplies the spectrum by its frequency response H(f).
Reading a spectrum plot
A spectrum plot usually shows the magnitude, often in decibels. Keep these points in mind when you read one.
- A real signal has a mirror image at negative frequencies. Plots often show only the positive half.
- A pure sine of amplitude A appears as a line of height A/2 at +f and another at −f in the two sided transform.
- Decibels compress the scale. A line 40 dB below the peak is 1 percent of its voltage, but still easy to see.
- Phase is often left out of the plot, yet it decides the shape of the waveform. Two signals with the same magnitude spectrum can look very different in time.
Common mistakes
Most errors come from mixing up frequency units. The transform written with f uses hertz. The version written with ω uses radians per second, and ω = 2πf. A factor of 2π in the wrong place changes every value.
Another mistake is treating a computed spectrum as exact. A real measurement or a computer calculation looks at a finite piece of the signal, which blurs lines and can leak energy into neighbouring frequencies. The FFT article on this site shows how to handle that.
Try it in the virtual lab
SinBench has free 3D benches and interactive demos for this topic. Open one to try the ideas above with real instruments, no sign up needed.
Fourier Transform Properties in MATLAB
Questions and answers
What is the Fourier transform used for?
It shows which frequencies a signal contains. Engineers use it to design filters, find the bandwidth of a signal, study modulation and remove noise.
What is the difference between the Fourier series and the Fourier transform?
The Fourier series describes a repeating signal as a sum of sines at multiples of one base frequency, so the spectrum is a set of lines. The Fourier transform handles any signal, and the spectrum is a continuous curve.
Why is the spectrum of a short pulse wide?
A signal that changes quickly needs high frequency components to make those fast changes. The shorter the pulse, the faster its edges, so the more bandwidth it takes.
Does the transform lose information?
No. The magnitude and phase together hold everything, and the inverse transform returns the original signal exactly.
Related topics
Fourier Series of a Square Wave and Its Harmonics
See how a square wave is built from odd harmonics, with the amplitude formula, dB levels, the Gibbs overshoot and the bandwidth needed to show clean corners.
Communication SystemsFFT in MATLAB: Frequency Axis, fftshift and Spectral Leakage
Use the FFT in MATLAB correctly: build the frequency axis, scale the amplitude, apply fftshift, and understand spectral leakage, windows and zero padding.
Communication SystemsHow to Use a Spectrum Analyzer: Span, RBW and Reference Level
A practical guide to spectrum analyzer settings: center frequency, span, resolution bandwidth, reference level, dBm and sweep time, with worked examples.