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: subset of dataset
Replies: 3   Last Post: Dec 21, 2012 4:15 AM

Advanced Search

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

Posts: 32
Registered: 2/16/12
Re: subset of dataset
Posted: Dec 21, 2012 4:15 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

dpb <none@non.net> wrote in message <kb03bq$gga$1@speranza.aioe.org>...
> On 12/20/2012 1:03 PM, dpb wrote:

> OBTW, probably what you're after that you didn't recognize is to use the
> result of the logical operation directly...
> ages=(38 39);
> subset=hospital(ismember(hospital.Age,ages),:);
> --

Thanks dpb. Exactly what I wanted.

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

[Privacy Policy] [Terms of Use]

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