필터 지우기
필터 지우기

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 CenterFile Exchange에서 NaNs에 대해 자세히 알아보기

제품


릴리스

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by