Borrar filtros
Borrar filtros

Err0r within code

1 visualización (últimos 30 días)
Yussif M. Awelisah
Yussif M. Awelisah el 21 de Sept. de 2019
Comentada: Stephen23 el 9 de Oct. de 2019
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 comentarios
Walter Roberson
Walter Roberson el 21 de Sept. de 2019
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.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 22 de Sept. de 2019
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 comentario
Yussif M. Awelisah
Yussif M. Awelisah el 22 de Sept. de 2019
how can this be solved.

Iniciar sesión para comentar.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by