XCORR Crosscorelation of 3 signals in simulink
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!