help-octave
[Top][All Lists]
Advanced

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

RE: indices of zeros in matrix


From: Julian DeMarchi
Subject: RE: indices of zeros in matrix
Date: Thu, 10 Jul 2003 11:19:38 -0400

I believe it's 

% assuming X is your matrix
find(X==0)

-----Original Message-----
From: bertrand roessli [mailto:address@hidden
Sent: Thursday, July 10, 2003 9:19 AM
To: address@hidden
Subject: indices of zeros in matrix



Hello,

does anybody know if there is a function which returns 
the indices of all zero elements in a matrix?

thank you

-- 

Dr. Bertrand Roessli
Laboratory for Neutron Scattering
ETHZ and Paul-Scherrer Institute
CH-5232 Villigen PSI

Tel.:+41 56 310 44 01
Fax :+41 56 310 29 39



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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