Effacer les filtres
Effacer les filtres

Undefined function 'eq' for input

1 vue (au cours des 30 derniers jours)
Lester Lim
Lester Lim le 16 Jan 2013
It happened when I put this line in:
PooledCov = PooledCov + ((nGroup(i) - 1) / (n - k) ).* cov(input(Group,:));
Please help!!!
  5 commentaires
Jan
Jan le 17 Jan 2013
What is "a variable called from the GUI"?
Lester Lim
Lester Lim le 17 Jan 2013
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.

Connectez-vous pour commenter.

Réponses (1)

Jing
Jing le 16 Jan 2013
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 commentaire
Lester Lim
Lester Lim le 17 Jan 2013
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...

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by