フィルターのクリア

XCORR Crosscorelation of 3 signals in simulink

1 回表示 (過去 30 日間)
Adil Zuberi
Adil Zuberi 2014 年 6 月 12 日
編集済み: Adil Zuberi 2014 年 6 月 12 日
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 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by