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.
|
|
Contact us at files@mathworks.com