error evaluating binary operator

Emily Moberg emilym122 at hotmail.com
Fri Aug 1 14:29:05 CDT 2008


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.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080801/924a42b5/attachment.html 


More information about the Help-octave mailing list