Skip to content

Interactive courseware module that addresses the theory behind fundamental signal processing concepts and how they can be applied to a variety of real-world signals.

License

Notifications You must be signed in to change notification settings

MathWorks-Teaching-Resources/DSP-Signals-and-Filter-Design

Repository files navigation

Digital Signal Processing: Signals and Filter Design

View on File Exchange or Open in MATLAB Online

MATLAB Versions Tested

Curriculum Module

Created with R2024a. Compatible with R2024a and later releases.

Information

This curriculum module is comprised of interactive MATLAB® live scripts and apps containing examples, exercises, and visualizations of key signal processing concepts.

Background

You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. This module covers analog to digital conversion, visualizing signals, basic filtering concepts, filter design, and app building. It also includes examples of analog to digital conversion and filtering using real-world audio signals, and walks the learner through building their own filtering app.

The instructions inside the live scripts will guide you through the exercises and activities. 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 image_0.png Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.

Contact Us

Contact the MathWorks teaching resources team if you would like to provide feedback, or if you have a question.

Prerequisites

This module assumes very basic knowledge of Fourier analysis and convolution. If you would like to refresh your knowledge on these concepts, consider checking out this Fourier Analysis courseware module and this live script covering convolution as it relates to filtering.

Getting Started

Accessing the Module

On MATLAB Online:

Use the image_1.png link to download the module. You will be prompted to log in or create a MathWorks® account. The project will be loaded, and you will see an app with several navigation options to get you started.

On Desktop:

Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on DSP.prj. It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.

Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the Home tab and select image_2.png Add-Ons > Get Add-Ons.

Products

MATLAB® is used throughout. Tools from Signal Processing Toolbox™ are used frequently as well.

Scripts

image_3.png
In this script, students will...
$\bullet$ Learn the difference between analog and digital signals
$\bullet$ Explore examples of sampling signals at different sample rates
$\bullet$ Learn about Nyquist Theorem and why it is important
$\bullet$ Work through an example illustrating the effects of sampling and quantization on a short recording of a jazz song
image_4.png
In this script, students will...
$\bullet$ Learn about the purpose of filtering
$\bullet$ Explore a step-by-step example of applying a smoothing filter to real-world accelerometer data
$\bullet$ Learn about four different ways of visualizing signals in different domains
$\bullet$ Learn about three different types of frequency-based filters and apply them to a real-world recording of birds chirping
image_5.png
In this script, students will...
$\bullet$ Learn about impulse responses and their importance in designing filters
$\bullet$ Learn the difference between FIR and IIR filters and apply them to an audio signal
$\bullet$ Explore the importance of group delay and magnitude responses
$\bullet$ Use the Design Filter live task to design their own filters
image_6.png
In this script, students will...
$\bullet$ Work step by step to build a filtering app

License

The license for this module is available in the LICENSE.md.

Related Courseware Modules

image_7.png
Available on:
image_8.png
image_9.png
GitHub
image_10.png
Available on:
image_11.png
image_12.png
GitHub

Or feel free to explore our other modular courseware content.

Educator Resources

Contribute

Looking for more? Find an issue? Have a suggestion? Please contact the MathWorks teaching resources team. If you want to contribute directly to this project, you can find information about how to do so in the CONTRIBUTING.md page on GitHub.

© Copyright 2024 The MathWorks, Inc

About

Interactive courseware module that addresses the theory behind fundamental signal processing concepts and how they can be applied to a variety of real-world signals.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages