Convolve/ Deconvolve Gaussian impulse response and unit impulse vectors

This function demonstrates how to convolve and deconvolve data as well as plots it and returns it.
822 Downloads
Updated 29 Jul 2011

View License

This function plots a Gaussian impulse response, unit impulse and the
% convolution/deconvolution of both using MATLAB's 'filter'. Specifically
% it uses 'filter' rather than 'deconv' to do the deconvolution and thereby
% returns the original Gaussian vector as well as the unit response vector.
% Vector length is maintained at 16 in all cases, the length of the input
% data vectors.
%
% By specifying a string for a filename you can save your
% plot to a jpeg file. You can either edit the variables 'g','h' and 't'
% to provide your data in row vector format or edit the given
% 'inputData.mat' file to suit your needs.
%
% EX:
% >> [a b c] = plotImpulses('afigure')

Cite As

Bruce Raine (2024). Convolve/ Deconvolve Gaussian impulse response and unit impulse vectors (https://www.mathworks.com/matlabcentral/fileexchange/32387-convolve-deconvolve-gaussian-impulse-response-and-unit-impulse-vectors), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0