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: Removing a location from a vector.
Replies: 4   Last Post: Mar 25, 2013 3:54 PM

Advanced Search

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

Posts: 9,850
Registered: 6/7/07
Re: Removing a location from a vector.
Posted: Mar 25, 2013 3:54 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 3/24/2013 3:50 PM, Skylar wrote:
With that you can then find which are true collectively by simply
writing the expression

ixAll = all([ixPr ixT ixDT],2);

which will be a logical (column) vector of the same length but T only
where each of the three conditions you've tested for is simultaneously T.

Again, not sure where you're headed, but hopefully that gives some
ideas. Note that to get the values you then simply can write
expressions like


to get the full dataset (all columns) for the rows found.

Or, of course, if this is an exclusion process, then perhaps you're
looking for


to collapse to everything except those found above...

Salt to suit, obviously.


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.