필터 지우기
필터 지우기

Err0r within code

조회 수: 2 (최근 30일)
Yussif M. Awelisah
Yussif M. Awelisah 2019년 9월 21일
댓글: Stephen23 2019년 10월 9일
Please Im facing this errors in my code. Please any help will be appreciated.
Error in tvf_emd>extendsignal (line 343)
endInds = FastCrossing(y,y(nPoints));% find points index has the same level
Error in tvf_emd (line 49)
y=extendsignal(y,num_padding); % padding to deal with boundary effect (match slope)
Please the code and the data is attached.
K>>
  댓글 수: 6
Walter Roberson
Walter Roberson 2019년 9월 21일
Your code contains the line
ind = zerocross(s);
but there is no other reference to zerocross in what you posted. In context it can only be a function.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2019년 9월 22일
Your code for your function extendsignal() is clearly written for the case where the input is a row vector, but you are passing in a 500 x 231 array instead. Even if you do not run into problems with array size mismatches, it will obviously not produce the correct answer for the case where each row or each column of the 2D matrix is to be considered independently.
  댓글 수: 1
Yussif M. Awelisah
Yussif M. Awelisah 2019년 9월 22일
how can this be solved.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by