image thumbnail

Convolution in Digital Signal Processing

version 1.2.0 (5.23 MB) by Emma Smith Zbarsky
Interactive courseware module that addresses common foundational-level concepts taught in signal processing courses.


Updated 05 Oct 2021

From GitHub

View license on GitHub

Convolution in Digital Signal Processing View Convolution in Digital Signal Processing on File Exchange

Curriculum Module
Created with R2021a. Compatible with R2021a and later releases.


This package contains live scripts and supporting data files centered around the fundamentals of convolution in digital signal processing. These materials are designed to be flexible and can be easily modified to accommodate a variety of teaching and learning methods. Used in a sequence, the live scripts progressively add depth to the topic. However, each script can be easily adapted for standalone use. We include a brief background, interactive illustrations, tasks, reflection questions, application examples, and guided exercises for the different concepts explored.

The instructions inside the live scripts will guide you through the activities and exercises. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the Stop button in the Run section of the Live Editor tab in the MATLAB toolstrip.

Suggested Prework

MATLAB Onramp – a free two-hour introductory tutorial to learn the essentials of MATLAB®.


Learning Goals

  • Define and compute convolution of two 1-D signals.
  • Use FFT to compute convolution.
  • Define and compute circular convolution.
  • Achieve equivalence between circular and linear convolution.

Products: MATLAB, Signal Processing Toolbox™

Learning Goals

  • Identify the moving average operation as a simple LTI system.
  • Define an LTI system.
  • Compute the output of an LTI system for an arbitrary input signal given its impulse response.

Data files: 1st_baptist_nashville_balcony.wav, ringtone.wav
The audio file 1st_baptist_nashville_balcony.wav by Adam Townsell is licensed under CC BY 4.0 and was obtained from
Products: MATLAB, Signal Processing Toolbox

Learning Goals

  • Explain the frequency domain implications of convolving two signals in the time domain.
  • Achieve equivalence between low pass filtering and convolution.
  • Define and compute convolution of two 2-D signals.
  • Perform spatial filtering of images to achieve effects such as blurring and embossing.

Data files: lettert.png, flower.jpg
Products: MATLAB, Signal Processing Toolbox, Image Processing Toolbox™ (optional), Deep Learning Toolbox™ (optional)


The license for this module is available in the LICENSE.TXT file in this GitHub repository.

Educator Resources

Have any questions or feedback? Contact the MathWorks online teaching team.

Copyright 2021 The MathWorks, Inc.

Cite As

Emma Smith Zbarsky (2021). Convolution in Digital Signal Processing (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with R2021a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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.