Community
cancel
Showing results for 
Search instead for 
Did you mean: 
msinger61
Beginner
84 Views

Cross Correlation with vsldCorrExec1D

I'm trying to transliterate some Matlab code and am unsure how vlsdCorrExec1D corresponds to Matlab's xcorr function. xcorr has an output array that is of size 2*xshape-1

Using that for zshape when calling vsldNewTask1D causes an error -2303 when calling vsldCorrExec1d.

What am I missing?
0 Kudos
1 Reply
Victor_Gladkikh
New Contributor I
84 Views

Hi,

this error=-2303 isVSL_CC_ERROR_DECIMATION, that really mean bad decimation parameter.

1. If you set decimation parameter:
The root of aproblem is decimation parameter.

2. If youdon't setdecimation parameter:
Of course we set defaultdecimation parameter but in this case the root of the problem is bad zshape. Typical zsape = xshape + yshape 1.


Victor

Reply