help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Matlab Convolution and Deconvolution Error


From: olbert
Subject: Matlab Convolution and Deconvolution Error
Date: Tue, 14 Oct 2008 23:02:29 -0700 (PDT)

I am using Matlab to perform convolution and deconvolution to discrete time
signals.  There seems to be an error when one of the signals is long(ie
there are many numbers in the array) and the first number in the other's
array is near to zero.

This is a simple example of my problem(the actual numbers I am using are
more complicated)-
A = 0:100;
B = [0.01 1];
C = conv(A,B);
D = deconv(C,B);
subplot(2,1,1)
plot(A)
subplot(2,1,2)
plot(D)

The two plots should be the same but they arent.  If you change A to a
smaller signal, ie maybe only 10 numbers long, then it works and if you
change the first number of B to something larger ie 1 then it also works. 
How can I fix this problem, as I have been given set formulas to work with. 
The numbers I am trying to convolve and deconvolve are both long and begin
with very small numbers.

Also could it just be a problem with my matlab version?
-- 
View this message in context: 
http://www.nabble.com/Matlab-Convolution-and-Deconvolution-Error-tp19987249p19987249.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]