help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error evaluating binary operator


From: Emily Moberg
Subject: error evaluating binary operator
Date: Fri, 1 Aug 2008 15:29:05 -0400

Hi!
I have the following for loop
[m,o]=size(A)
for n=1:o

idx=find(A(:,n)==0);

if length(idx)>=m*(.7);

A(:,n)=[];

endif;

endfor;


and I keep getting an error evaluating binary operator '=='  for the idx=find(A(:,n)==0) line. I'm not sure what I'm doing wrong... I'm still rather new at this, so sorry if this is a trivial question!



Thanks!



Emily



Stay in touch when you're away with Windows Live Messenger. IM anytime you're online.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]