Undefined function 'eq' for input

1 回表示 (過去 30 日間)
Lester Lim
Lester Lim 2013 年 1 月 16 日
It happened when I put this line in:
PooledCov = PooledCov + ((nGroup(i) - 1) / (n - k) ).* cov(input(Group,:));
Please help!!!
  5 件のコメント
Jan
Jan 2013 年 1 月 17 日
What is "a variable called from the GUI"?
Lester Lim
Lester Lim 2013 年 1 月 17 日
In my case I did a roipoly on a picture, writes a variable into the variable editor. The variable when opened shows the pixels/labels contained.

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

回答 (1 件)

Jing
Jing 2013 年 1 月 16 日
Can you just run 'x=1+1'? If this line is ok. Then there should be something wrong with your variables, what it PooledCov and other variables? Can you post the 'whos' results of them?
  1 件のコメント
Lester Lim
Lester Lim 2013 年 1 月 17 日
Yup, variable x = 2. So its the problem with the variables right? Im currently running it in GUI for LDA. I will try to look into the variables...

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

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by