Date: Dec 21, 2012 4:15 AM
Author: Barry Shaw
Subject: Re: subset of dataset

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.