Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have two sets of data in the form



Both data sets have even spacing, although the b dataset has significantly many more data points at higher and lower values of x. How do I convolve these data sets?

Convolve[a,b] only works if I use just the y values of the datasets. Is there a way to convolve this data while still keeping these x values?

share|improve this question
Convolve doesn't work at all. It's for symbolic convolution. ListConvolve works, but you can't keep the x values. You'll need to re-add them afterwards. –  Szabolcs Feb 20 '14 at 19:56
Your data sets don't have values at .4... the data needs to be defined at all times in a regularly spaced intervals in order for convolution to be defined. –  bill s Feb 20 '14 at 20:09
Sorry for the lack of clarity. Yes I am using ListConvolve, and the data I have written there is just an example. My actual data sets are several hundred thousand points. I will try adding the x coordinates back into my ListConvolved data set. –  ahle6481 Feb 20 '14 at 23:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.