error trying to run xcorr2.

1 回表示 (過去 30 日間)
Douglas Brenner
Douglas Brenner 2018 年 9 月 26 日
コメント済み: KSSV 2018 年 9 月 26 日
This is my code D1 = cell2mat(data1{2}); %D1 and D2 are 1x3 cells of doubles D2 = cell2mat(data2{2}); c = xcorr2(D1,D2); It fails at the first line. I have tried other things but to no avail. Help would be appreciated.
  1 件のコメント
KSSV
KSSV 2018 年 9 月 26 日
What error you are getting? You should specify error...

サインインしてコメントする。

回答 (1 件)

Douglas Brenner
Douglas Brenner 2018 年 9 月 26 日
This is the error: Cell contents reference from a non-cell array object. Error in cell2mat (line 42) But if I try a different approach I get a different error.
  1 件のコメント
KSSV
KSSV 2018 年 9 月 26 日
Attach your data......problem with your understanding of data.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

製品


リリース

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by