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: select the opposite of what the index specifies
Replies: 3   Last Post: Nov 30, 2009 7:50 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Patrick Diviacco

Posts: 23
Registered: 9/15/09
select the opposite of what the index specifies
Posted: Nov 30, 2009 6:31 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

hi,

how can I ask matlab to index all rows of my matrix that do not match with 1:30:end ?

projData(4:30:end,:)

In other terms, I want all rows except row 4, 34, 64.. etc

thanks



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.