Code covered by the BSD License  

Highlights from
Convolve/ Deconvolve Gaussian impulse response and unit impulse vectors

Be the first to rate this file! 17 Downloads (last 30 days) File Size: 68.4 KB File ID: #32387
image thumbnail

Convolve/ Deconvolve Gaussian impulse response and unit impulse vectors

by Bruce Raine

 

29 Jul 2011

This function demonstrates how to convolve and deconvolve data as well as plots it and returns it.

| Watch this File

File Information
Description

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')

MATLAB release MATLAB 7.12 (2011a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
filter Bruce Raine 01 Aug 2011 10:11:07
plot Bruce Raine 01 Aug 2011 10:11:07
signal processing Bruce Raine 01 Aug 2011 10:11:07
gaussian Bruce Raine 06 Aug 2011 19:59:51
convolution Bruce Raine 06 Aug 2011 19:59:51
deconvolution Bruce Raine 06 Aug 2011 19:59:51
impulse response Bruce Raine 06 Aug 2011 19:59:51

Contact us at files@mathworks.com