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: 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: 116
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

Hi,

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?

Thanks
Jon



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.