MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: correlation function

  • To: mathgroup at
  • Subject: [mg128709] Re: correlation function
  • From: "Nasser M. Abbasi" <nma at>
  • Date: Mon, 19 Nov 2012 04:08:57 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <k8a8el$8bj$> <k8bn0f$dj1$>
  • Reply-to: nma at

On 11/18/2012 4:21 PM, jure lapajne wrote:
> Why can I see the answer on my email, but not here?
> Anyway, I tried your code. I only changed data and the code does not return vector
>  of zeros. Here are my data:

Becuase many times I send a post to this newsgroup and it never shows up.
This is not the first time.

[Sometimes, news servers fail to send out a message. When you see this
happen send me an email about it - moderator] 

Here it is again. I am using version 8.0.4

Date: Sun, 18 Nov 2012 04:31:35 -0600
From: "Nasser M. Abbasi" <nma at>
Newsgroups: comp.soft-sys.math.mathematica
CC: jure lapajne <lapajne.jure at>

data  = Table[RandomReal[], {10}];
parms = FourierParameters -> {1, -1};
fft   = Fourier[data, parms];
res1  = Chop[fft*Conjugate[fft]];
res2  = Chop[Fourier[ListCorrelate[data, data, {1, 1}], parms]];
Chop[res1 - res2]

Out[38]= {0,0,0,0,0,0,0,0,0,0}


  • Prev by Date: Re: Removing rows from a table
  • Next by Date: Replace Rule for LaplaceTransform
  • Previous by thread: Re: correlation function
  • Next by thread: Re: correlation function