MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Find position of nonzero elements

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120317] Find position of nonzero elements
  • From: Dominic Wörner <dominic.woerner at mpi-hd.mpg.de>
  • Date: Tue, 19 Jul 2011 06:53:55 -0400 (EDT)

Hi,

How can I find the indices i and j of all nonzero elements of a matrix. 
I want that because there are only some nonzero elements in a huge 
matrix.

Best regards,
Dominic 


  • Prev by Date: Re: Solve never calls Equal?
  • Next by Date: Re: Replace, test question
  • Previous by thread: Re: 2 problems!
  • Next by thread: Re: Find position of nonzero elements