Forums

A tricky problem

Started by Elnaz June 4, 2012
Hi all,

I am convolving a vector of bits (zero-padded in between to avoid
aliasing) with the erf function. On the paper, erf function goes from -
infinity to infinity which will cause erf functions in my convolutoin
to cancel each other's tails out. However the problem is that in
MATLAB no matter how long I define the function I will continue to
have problem with the tails not canceling each other because the
convolution will shift each function forward while multiplying it with
each element of the bit vector.
What would you suggest?

Thanks,
Elnaz
On 6/4/2012 6:40 PM, Elnaz wrote:
> Hi all, > > I am convolving a vector of bits (zero-padded in between to avoid > aliasing) with the erf function. On the paper, erf function goes from - > infinity to infinity which will cause erf functions in my convolutoin > to cancel each other's tails out. However the problem is that in > MATLAB no matter how long I define the function I will continue to > have problem with the tails not canceling each other because the > convolution will shift each function forward while multiplying it with > each element of the bit vector. > What would you suggest?
Did you get the indexing right? Matlab isn't "textbook" that way. Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������