selecting rows from column vectors

4 views (last 30 days)
Hi all, I have 10 column vectors with 52,520 observations. I want to extract expecfic observation rows per column vectors, I am trying to use the following code without any luck ( getting a 0*10 table). Is there any reference or other way to do this I can look to?
Thanks in advance
load mpw %dataset
h103 = mpw(mpw.hid=='103',:); %103 is the sample ID across 512 rows * 10 columns ( on this step I am getting a 0*10 table

Accepted Answer

madhan ravi
madhan ravi on 17 Jul 2020
desert_scientist90 on 19 Jul 2020
Thanks,this is a life saver!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!