Filter löschen
Filter löschen

Undefined function 'eq' for input

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jing
Jing am 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 Kommentar
Lester Lim
Lester Lim am 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...

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by