Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
how to find index based on other identifiers in a matrix
Replies:
1
Last Post:
Mar 7, 2013 12:20 PM



Samit
Posts:
59
Registered:
12/6/08


how to find index based on other identifiers in a matrix
Posted:
Mar 7, 2013 12:23 AM


HI, I got the following problem:
Suppose I have this matrix A = [ 1 0.1 5 2 9 0.2 10 4 5 0.3 15 6 10 0.4 20 8 2 0.5 25 10]
How can I get the rowindex corresponding to three elements in col 2, 3 & 4? for example, corresponding row of three elements [0.4 20 8] is 4.
thanks, Hato


Date

Subject

Author

3/7/13


Samit

3/7/13


dpb


