error I did not understand it?
Afficher commentaires plus anciens
when I wrote this code an error message appear and I did not understand it can any one help me please?
and this is the error message:
Undefined function 'scatterd' for input arguments of type 'double'.
Error in preprocessfp (line 33)
scatterd (p);
1 commentaire
Star Strider
le 8 Fév 2015
Please describe what you want to do. What is your ‘gb’ variable?
Réponse acceptée
Plus de réponses (2)
Erik S.
le 8 Fév 2015
0 votes
You have a space between the name and the argumment,
scatterd (p);
write
scatterd(p);
Image Analyst
le 9 Fév 2015
MATLAB is case sensitive. So in this:
p = kruskalwallis(cA)
scatter(P);
P is a different variable than p. Put this in your code and tell me what it says:
whos P
whos p
If you still need help, attach myfinger.jpg, and the code for kruskalwallis if it's not part of your wavelets toolbox. I've never heard of that filter though I have heard of a Wallis filter, which is a local filter that tries to make every window have the same, specified mean and standard deviation. I can't try your code though because I don't have the wavelet toolbox.
6 commentaires
Ameligege
le 9 Fév 2015
Image Analyst
le 9 Fév 2015
I see reference to dwt2, which I assume means discrete wavelet transform. I don't have the Wavelet Toolbox, so I can't run that function. I also don't have the functions kruskalwallis() or scatterd(). You will have to ask "they" who wrote the functions for help.
Erik S.
le 9 Fév 2015
Hi,
kruskalwallis is a function in Statistics toolbox (at least in R2014b), I guess we are not allowed to post the code here, since it would be a propery of the Mathworks? However, it is used for hypothesis testing.
Ameligege, are you sure you should use this function?? As far as I understand the documentation it will only return the p-values of a null hypothesis. How are you supposed to plot these values in a scatterplot? You will only get 1 vector.
Image Analyst
le 10 Fév 2015
I don't have the Statistics Toolbox either. I've added it to the product list at the top of the page. Is scatterd() in there also?
Ameligege
le 13 Fév 2015
Catégories
En savoir plus sur Wavelet Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!