The Math Forum

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.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: problem with find
Replies: 1   Last Post: Jan 22, 2012 8:00 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jonathan Allan

Posts: 123
Registered: 12/7/04
problem with find
Posted: Jan 22, 2012 2:36 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I'm having a problem with using find, that's probably super easy to resolve but I'm forgetting the correct format. I have a matrix (A) 100*7. I have identified a subset of the matrix using find and have the appropriate indices (ind=50*1 matrix). What I'm trying to do is simply extract that subset B=A(ind). If I do this I get a 50*1 matrix, however, what I would like is a 50*7 matrix. What's the correct format for deriving this?


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.