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.

You are now following this Submission

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://uk.mathworks.com/matlabcentral/fileexchange/32387-convolve-deconvolve-gaussian-impulse-response-and-unit-impulse-vectors), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0