From: fabio freschi on 4 May 2010 04:52 I am not sure about what you mean with making the matrix smaller, but idx = find(A); [i,j,k] = ind2sub(size(A),idx); extracts the indices of nonzeros of matrix A Fabio
From: Michael on 4 May 2010 04:55 I used Matrix(~any(Matrix')',:) = []; for a two-dimensional n x 3 array successfully. Maybe you can adjust it to your case.
|
Pages: 1 Prev: Diadem DAT files import to Matlab Next: GUI using method |