error I did not understand it?

1 回表示 (過去 30 日間)
Ameligege
Ameligege 2015 年 2 月 8 日
編集済み: Ameligege 2015 年 2 月 13 日
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 件のコメント
Star Strider
Star Strider 2015 年 2 月 8 日
Please describe what you want to do. What is your ‘gb’ variable?

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

採用された回答

Erik S.
Erik S. 2015 年 2 月 8 日
The function scatterd is not a standard matlab function, do you mean scatter(d)? Is it a function you made? Is it in the correct folder?
  3 件のコメント
Erik S.
Erik S. 2015 年 2 月 9 日
Can you explain what you want to do? The scatter function is used for plotting data. You need to give the function at least to inputs, x & y coordinates of the points you are going to plot.
Ameligege
Ameligege 2015 年 2 月 9 日
Actually, I searched about Karskual wallis feature selection code to select fingerprint features that I extract it earlier by using gabor filter and this what I get as a result.for now ,I do not know if they use it as built in function or It is function that they do .They did not include any comment for that except it is kraskual wallis step.

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

その他の回答 (2 件)

Erik S.
Erik S. 2015 年 2 月 8 日
You have a space between the name and the argumment,
scatterd (p);
write
scatterd(p);
  2 件のコメント
Ameligege
Ameligege 2015 年 2 月 8 日
I did what you say ,but the error still appear
Guillaume
Guillaume 2015 年 2 月 9 日
spaces between functions/matrices/anything and brackets are allowed and some people actually prefer it this way. This is certainly not the cause of the error.

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


Image Analyst
Image Analyst 2015 年 2 月 9 日
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 件のコメント
Erik S.
Erik S. 2015 年 2 月 10 日
編集済み: Erik S. 2015 年 2 月 10 日
No, scatterd() is neither a function in Statistics Toolbox nor Wavelet Toolbox, in R2014b.
Ameligege
Ameligege 2015 年 2 月 13 日
I am working on Matlab R2013a but why it does not accept this function scatter(p)even if i did all your suggestions about the correction .any way I will delete it to solve this error.

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

カテゴリ

Help Center および File ExchangeAI for Signals and Images についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by