Let's say I have a table. And a cell array, with
names = {'Smith, 'Williams} Gender Age Smoker BloodPressure ______ ___ ______ _______________ Smith Male 38 true 124 93 Johnson Male 43 false 109 77 Williams Female 38 false 125 83 Jones Female 40 false 117 75 Brown Female 49 false 122 80
Now I would like to find the names match from the table and extract the values of other variables Gender, Age, Smoker, BloodPressure. I tried to use isfield, but this does not work and I am running out of ideas. I was plaaning to pull the row number and then all the column according to the row.
if isfield(Table,Names); end
I tried finding
Best Answer