A hands-on MATLAB tutorial introducing the fundamentals and practical application of wavelet transforms for signal and image analysis.
This repository accompanies a series of tutorial exercises that guide students through:
- Understanding the theory behind wavelet transforms
- Performing multi-resolution signal analysis
- Applying discrete wavelet transforms (DWT)
- Visualizing time-frequency representations
- Exploring wavelet-based denoising and feature extraction
- Working with real-world data examples
waveletTransform_tutorial/
│
├── code/ # Tutorial scripts and example solutions
├── data/ # Example datasets used throughout the exercises
├── functions/ # Helper functions for wavelet analysis
│
├── Tutorial_IIA_instructions.pdf
├── Tutorial_IIB_instructions.pdf
├── Tutorial_IIC_instructions.pdf
│
└── README.md
The tutorials were developed using MATLAB.
Recommended MATLAB toolboxes:
- Wavelet Toolbox
- Signal Processing Toolbox
- Clone the repository:
git clone https://github.com/stefan-ehrlich/waveletTransform_tutorial.git
cd waveletTransform_tutorial-
Open MATLAB.
-
Add the repository to your MATLAB path:
addpath(genpath(pwd));- Open the tutorial instructions:
Tutorial_IIA_instructions.pdfTutorial_IIB_instructions.pdfTutorial_IIC_instructions.pdf
- Follow the exercises in sequence.
Topics include:
- Fourier transform limitations
- Time-frequency analysis
- Wavelet concepts
- Scaling and translation
- Mother wavelets
Topics include:
- Filter banks
- Multi-level decomposition
- Approximation and detail coefficients
- Signal reconstruction
Topics include:
- Signal denoising
- Compression
- Feature extraction
- Biomedical signal analysis
% Load example data
load('data/example_signal.mat')
% Perform wavelet decomposition
[c,l] = wavedec(signal,4,'db4');
% Visualize coefficients
plot(c)
% Reconstruct approximation
approx = wrcoef('a',c,l,'db4',4);After completing the tutorials, participants should be able to:
- Explain the motivation behind wavelet transforms
- Distinguish between Fourier and wavelet analysis
- Perform wavelet decomposition and reconstruction
- Interpret wavelet coefficients
- Apply wavelet methods to practical data analysis problems
Recommended reading:
- Cohen, M. X. (2014). Analyzing neural time series data: theory and practice. MIT press.
- Mallat, S. A Wavelet Tour of Signal Processing.
- Daubechies, I. Ten Lectures on Wavelets.
- MATLAB Wavelet Toolbox Documentation.
Please refer to the repository license information before redistribution or modification.
Stefan Ehrlich GitHub: https://github.com/stefan-ehrlich