Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.