XCORR Crosscorelation of 3 signals in simulink
1 view (last 30 days)
Show older comments
Dear all,
I need help in using the xcorr in Simulink.
Here is a command that works pretty nice in MATLAB but as i need to implement it on a TI F28335 board, i need to implement it in simulink model.
[dataXCorr,lags] = xcorr([dataResampled(:,1) dataResampled(:,2) dataResampled(:,3)],'coeff');
% size of dataXCorr 559x9, size of lags 1x559
% size of dataResampled(:,1)=dataResampled(:,2)=dataResampled(:,3)= 280x1
I need to implement it in Simulink model. When i use it as it is in Matlab Function Block, it gives me an error that 1st argument is expected to be a vector which is matrix in our case.
Many thanks for your help. Regards!
0 Comments
Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!