Err0r within code
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 21 Set 2019
What is the difference between this question and your later https://www.mathworks.com/matlabcentral/answers/481412-error-using-horzcat-dimensions-of-matrices-being-concatenated-are-not-consistent ?
Yussif M. Awelisah
il 21 Set 2019
Walter Roberson
il 21 Set 2019
No definition for function zerocross ?
Yussif M. Awelisah
il 21 Set 2019
Walter Roberson
il 21 Set 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.
Stephen23
il 9 Ott 2019
@Yussif Moro Awelisah: note that you have uploaded copyright files, without including their licenses:
Risposte (1)
Walter Roberson
il 22 Set 2019
0 voti
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 Commento
Yussif M. Awelisah
il 22 Set 2019
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!