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...

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by