SinBench
← All labs · Communication Systems · Free virtual lab

Lab 3.
Fourier transform
and filters.

See a pulse in the frequency domain, pass it through a filter, and design Butterworth filters with their delays. Move a slider and the figure follows.

Read the concepts first →
9MATLAB scripts
2filter tasks
1Simulink model
Before you start

Your details

Free to use, no sign up. Your name is only printed on your own lab sheet, and your work is saved in this browser so you can continue later. Nothing is sent to a server.

01
Read the concepts page: the transform of a pulse, Y = HX, Butterworth filters and delay.
02
Guided mode takes you from the pulse spectrum to the filter design tasks and ticks each step when it is really done.
03
Add figures and scopes to your report and export one PDF with your name and the values used.
Designed by
© 2026 Fasih Ullah Saleem. All rights reserved. · About · Terms of Use · Privacy
About this virtual lab

Fourier Transform Properties in MATLAB

This virtual lab uses the MATLAB style desktop to show the Fourier transform at work. A rectangular pulse turns into a sinc shaped spectrum, a first order RC low pass filter changes that spectrum, and the inverse transform brings the filtered pulse back into time. Each value is a slider, so the link between pulse width, bandwidth and filter corner is easy to see.

The second half moves to Butterworth filters. You compare the magnitude response of three orders, filter a two tone signal with a simulated lsim run, and measure the group delay and the phase delay of a digital Butterworth filter, the two delays that decide how a filter distorts a message. A block diagram version of the low pass filter closes the lab.

Fourier Transform Properties in MATLAB: the MATLAB style desktop with its scripts and figures
The bench of this lab, as it looks after you enter it.

What you do on this bench

  1. Plot the amplitude and phase spectrum of a rectangular pulse and change its width.
  2. Pass the pulse through an RC low pass filter and find the output with the inverse transform.
  3. Compare the magnitude response of Butterworth filters of three orders.
  4. Filter a two tone input and see which tone survives.
  5. Measure group delay and phase delay, then build the same low pass filter as a block diagram.

On the bench

  • MATLAB style desktop with figures that redraw live
  • Filter design and simulation functions in MATLAB syntax
  • Block diagram model of a low pass filter
  • A PDF report of your figures

Free, runs in the browser, no sign up and nothing to install. A computer with a graphics card gives the smoothest 3D view.

Questions students ask

Why is the spectrum of a pulse a sinc?

A rectangular pulse switches on and off sharply, which needs many frequencies. Its transform is a sinc whose first zero sits at 1 divided by the pulse width, so a shorter pulse has a wider spectrum.

What is the difference between group delay and phase delay?

Phase delay is how long a single tone is delayed. Group delay is how long the envelope of a group of tones is delayed. When group delay changes with frequency, the shape of a message is distorted.

What does a higher Butterworth order do?

Each extra order makes the roll off 20 dB per decade steeper while the passband stays flat, at the cost of more delay near the corner frequency.