Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: how to find index based on other identifiers in a matrix
Replies: 1   Last Post: Mar 7, 2013 12:20 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
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
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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 row-index corresponding to three elements in col 2, 3 & 4? for example, corresponding row of three elements [0.4 20 8] is 4.

thanks,
Hato



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.