Borrar filtros
Borrar filtros

XCORR Crosscorelation of 3 signals in simulink

1 visualización (últimos 30 días)
Adil Zuberi
Adil Zuberi el 12 de Jun. de 2014
Editada: Adil Zuberi el 12 de Jun. de 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!

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by