This forum has been archived. All content is frozen. Please use KDE Discuss instead.

indices of non-zero entries

Tags: None
(comma "," separated)
rkg
Registered Member
Posts
2
Karma
0

indices of non-zero entries

Tue Nov 01, 2011 3:17 pm
Hi,

I wonder whether there is an easy way to get the indices of non-zero elements of a vector, i.e. the equivalent to a Matlab find() function.

Thx in advance,
-Robert-
rkg
Registered Member
Posts
2
Karma
0

Re: indices of non-zero entries

Tue Nov 01, 2011 9:18 pm
I just realized that this viewtopic.php?f=74&t=97401 topic is about basically the same issue. Sorry for the double post.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]