Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® Integrated Performance Primitives
- corralation two signals

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

michaels247

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

06-06-2010
04:56 AM

15 Views

corralation two signals

i use ippsCrossCorr_32fc

the issue is that i dont recive same result as matlab

sig1 lenRecived

sig2 len1

xcorrsig=xcorr(sig1,sig2) ( length = 2*lenrecived-1)

in intel i use

xcorr = 2*lenRecived-1 since lenRecived>len1

and i use lag = -(lenRecived-1)

status = ippsCrossCorr_32fc(sigSigRecived,lenRecived , &sign[indD*N], N, &xcorrSig[indDlenRecived], 2*lenRecived-1 , lag);

i dont recive the same result , also i have very old matlab version before 10 years

i try to change the order of signals in corralation and try to see mirror of result still not the same

also i put two results at the maximal value and look to see if there is index problem but it isnt seem so ..

1 Reply

Highlighted
##

ok i have found the answer

in diffrent matlab version it is diffrent definition

xcor(a,b) =~ filter(conj(a(end:-1:1)),b)

in other matlab versions it might be

filter(a,b)

but only part of correlation is the same arround maximum

so in intel ipp i suppose first vesrion should be invers order of signal and make conjugate

michaels247

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

06-06-2010
11:05 PM

15 Views

in diffrent matlab version it is diffrent definition

xcor(a,b) =~ filter(conj(a(end:-1:1)),b)

in other matlab versions it might be

filter(a,b)

but only part of correlation is the same arround maximum

so in intel ipp i suppose first vesrion should be invers order of signal and make conjugate

For more complete information about compiler optimizations, see our Optimization Notice.