In both the Mac and Windows versions of Matlab, nonzeros returns a column vector. Octave doesn't. David Woodburn -------------- next part -------------- An HTML attachment was scrubbed... URL: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090703/d2959644/attachment.html