Effacer les filtres
Effacer les filtres

XCORR Crosscorelation of 3 signals in simulink

1 vue (au cours des 30 derniers jours)
Adil Zuberi
Adil Zuberi le 12 Juin 2014
Modifié(e) : Adil Zuberi le 12 Juin 2014
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!

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by