Convolve/ Deconvolve Gaussian impulse response and unit impulse vectors
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 (2026). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
