From: Judy on
"Ken Hennings" <kghennings(a)yahoo.com> wrote in message <hlmm01$gfm$1(a)fred.mathworks.com>...
> I have a small code that counts the number of zeroes found in a matrix. I would like to write a code that will remove a row if a zero is found in a column. Is there a Matlab command that will help me remove a row containing a zero?

I usually start at the end of the data column and do a
data(i,:)=[];
when you see a zero. You can use the any() function to check if there are any zeros.