フィルターのクリア

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.
Stephen23
Stephen23 2019 年 10 月 9 日

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

回答 (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 Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by