Hi Renato, I don't think there is a pdl function for cross-correlation. Attached is a pretty basic sub-routine which should do the job. It is based on the IDL cross-correlation function.
Cheers, Trevor On Thu, 22 Feb 2007 Renato Serodio <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm just getting acquainted with PDL, and for that purpose I was > trying to port an Octave script of mine, where I've used 'xcorr' to > obtain the cross correlation of two vectors. > > So I was wondering, is there any analog available that operates on pdl > data types? I looked around, but though I found convolution, couldn't > find any dedicated correlation function. > > Cheers, > > Renato > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
cross_corr.pdl
Description: Binary data
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
