How to solve this error?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Chee Wan Ting
le 23 Oct 2018
Commenté : Chee Wan Ting
le 23 Oct 2018
What does num1 and num2 represents?
And it also has an error :
Undefined function or variable 'normal'.
Error in Coding (line 4)
[C,L] = wavedec(normal(:,num1)',5,'db1');
This is our code:
load('x.dat')
num1=2;
num2=30;
[C,L] = wavedec(normal(:,num1)',5,'db1');
Réponse acceptée
Walter Roberson
le 23 Oct 2018
In the context of that code, normal should be the name of a variable containing multiple signals as channels, and normal(:,num1) should be extracting channel #num1 from the signal.
normal is not being used as a function name here, and there is nothing special about its name as a variable.
It might be used in a context where you were comparing signals between "normal" (healthy) and "abnormal" (diseased) -- but it is just a variable name.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Denoising and Compression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!